// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.appplatform.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SpringCloudGatewayCustomDomainState extends com.pulumi.resources.ResourceArgs {

    public static final SpringCloudGatewayCustomDomainState Empty = new SpringCloudGatewayCustomDomainState();

    /**
     * The name which should be used for this Spring Cloud Gateway Custom Domain. Changing this forces a new Spring Cloud Gateway Custom Domain to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output<String> name;

    /**
     * @return The name which should be used for this Spring Cloud Gateway Custom Domain. Changing this forces a new Spring Cloud Gateway Custom Domain to be created.
     * 
     */
    public Optional<Output<String>> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The ID of the Spring Cloud Gateway. Changing this forces a new Spring Cloud Gateway Custom Domain to be created.
     * 
     */
    @Import(name="springCloudGatewayId")
    private @Nullable Output<String> springCloudGatewayId;

    /**
     * @return The ID of the Spring Cloud Gateway. Changing this forces a new Spring Cloud Gateway Custom Domain to be created.
     * 
     */
    public Optional<Output<String>> springCloudGatewayId() {
        return Optional.ofNullable(this.springCloudGatewayId);
    }

    /**
     * Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Gateway Custom Domain.
     * 
     */
    @Import(name="thumbprint")
    private @Nullable Output<String> thumbprint;

    /**
     * @return Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Gateway Custom Domain.
     * 
     */
    public Optional<Output<String>> thumbprint() {
        return Optional.ofNullable(this.thumbprint);
    }

    private SpringCloudGatewayCustomDomainState() {}

    private SpringCloudGatewayCustomDomainState(SpringCloudGatewayCustomDomainState $) {
        this.name = $.name;
        this.springCloudGatewayId = $.springCloudGatewayId;
        this.thumbprint = $.thumbprint;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(SpringCloudGatewayCustomDomainState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private SpringCloudGatewayCustomDomainState $;

        public Builder() {
            $ = new SpringCloudGatewayCustomDomainState();
        }

        public Builder(SpringCloudGatewayCustomDomainState defaults) {
            $ = new SpringCloudGatewayCustomDomainState(Objects.requireNonNull(defaults));
        }

        /**
         * @param name The name which should be used for this Spring Cloud Gateway Custom Domain. Changing this forces a new Spring Cloud Gateway Custom Domain to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Spring Cloud Gateway Custom Domain. Changing this forces a new Spring Cloud Gateway Custom Domain to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param springCloudGatewayId The ID of the Spring Cloud Gateway. Changing this forces a new Spring Cloud Gateway Custom Domain to be created.
         * 
         * @return builder
         * 
         */
        public Builder springCloudGatewayId(@Nullable Output<String> springCloudGatewayId) {
            $.springCloudGatewayId = springCloudGatewayId;
            return this;
        }

        /**
         * @param springCloudGatewayId The ID of the Spring Cloud Gateway. Changing this forces a new Spring Cloud Gateway Custom Domain to be created.
         * 
         * @return builder
         * 
         */
        public Builder springCloudGatewayId(String springCloudGatewayId) {
            return springCloudGatewayId(Output.of(springCloudGatewayId));
        }

        /**
         * @param thumbprint Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Gateway Custom Domain.
         * 
         * @return builder
         * 
         */
        public Builder thumbprint(@Nullable Output<String> thumbprint) {
            $.thumbprint = thumbprint;
            return this;
        }

        /**
         * @param thumbprint Specifies the thumbprint of the Spring Cloud Certificate that binds to the Spring Cloud Gateway Custom Domain.
         * 
         * @return builder
         * 
         */
        public Builder thumbprint(String thumbprint) {
            return thumbprint(Output.of(thumbprint));
        }

        public SpringCloudGatewayCustomDomainState build() {
            return $;
        }
    }

}
