All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.cdn.outputs.AFDDomainHttpsParametersResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.azurenative.cdn.outputs;

import com.pulumi.azurenative.cdn.outputs.ResourceReferenceResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AFDDomainHttpsParametersResponse {
    /**
     * @return Defines the source of the SSL certificate.
     * 
     */
    private String certificateType;
    /**
     * @return TLS protocol version that will be used for Https
     * 
     */
    private @Nullable String minimumTlsVersion;
    /**
     * @return Resource reference to the secret. ie. subs/rg/profile/secret
     * 
     */
    private @Nullable ResourceReferenceResponse secret;

    private AFDDomainHttpsParametersResponse() {}
    /**
     * @return Defines the source of the SSL certificate.
     * 
     */
    public String certificateType() {
        return this.certificateType;
    }
    /**
     * @return TLS protocol version that will be used for Https
     * 
     */
    public Optional minimumTlsVersion() {
        return Optional.ofNullable(this.minimumTlsVersion);
    }
    /**
     * @return Resource reference to the secret. ie. subs/rg/profile/secret
     * 
     */
    public Optional secret() {
        return Optional.ofNullable(this.secret);
    }

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

    public static Builder builder(AFDDomainHttpsParametersResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String certificateType;
        private @Nullable String minimumTlsVersion;
        private @Nullable ResourceReferenceResponse secret;
        public Builder() {}
        public Builder(AFDDomainHttpsParametersResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.certificateType = defaults.certificateType;
    	      this.minimumTlsVersion = defaults.minimumTlsVersion;
    	      this.secret = defaults.secret;
        }

        @CustomType.Setter
        public Builder certificateType(String certificateType) {
            if (certificateType == null) {
              throw new MissingRequiredPropertyException("AFDDomainHttpsParametersResponse", "certificateType");
            }
            this.certificateType = certificateType;
            return this;
        }
        @CustomType.Setter
        public Builder minimumTlsVersion(@Nullable String minimumTlsVersion) {

            this.minimumTlsVersion = minimumTlsVersion;
            return this;
        }
        @CustomType.Setter
        public Builder secret(@Nullable ResourceReferenceResponse secret) {

            this.secret = secret;
            return this;
        }
        public AFDDomainHttpsParametersResponse build() {
            final var _resultValue = new AFDDomainHttpsParametersResponse();
            _resultValue.certificateType = certificateType;
            _resultValue.minimumTlsVersion = minimumTlsVersion;
            _resultValue.secret = secret;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy