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

com.pulumi.azure.cdn.inputs.EndpointCustomDomainCdnManagedHttpsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.15.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.azure.cdn.inputs;

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


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

    public static final EndpointCustomDomainCdnManagedHttpsArgs Empty = new EndpointCustomDomainCdnManagedHttpsArgs();

    /**
     * The type of HTTPS certificate. Possible values are `Shared` and `Dedicated`.
     * 
     */
    @Import(name="certificateType", required=true)
    private Output certificateType;

    /**
     * @return The type of HTTPS certificate. Possible values are `Shared` and `Dedicated`.
     * 
     */
    public Output certificateType() {
        return this.certificateType;
    }

    /**
     * The type of protocol. Possible values are `ServerNameIndication` and `IPBased`.
     * 
     */
    @Import(name="protocolType", required=true)
    private Output protocolType;

    /**
     * @return The type of protocol. Possible values are `ServerNameIndication` and `IPBased`.
     * 
     */
    public Output protocolType() {
        return this.protocolType;
    }

    /**
     * The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
     * 
     */
    @Import(name="tlsVersion")
    private @Nullable Output tlsVersion;

    /**
     * @return The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
     * 
     */
    public Optional> tlsVersion() {
        return Optional.ofNullable(this.tlsVersion);
    }

    private EndpointCustomDomainCdnManagedHttpsArgs() {}

    private EndpointCustomDomainCdnManagedHttpsArgs(EndpointCustomDomainCdnManagedHttpsArgs $) {
        this.certificateType = $.certificateType;
        this.protocolType = $.protocolType;
        this.tlsVersion = $.tlsVersion;
    }

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

    public static final class Builder {
        private EndpointCustomDomainCdnManagedHttpsArgs $;

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

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

        /**
         * @param certificateType The type of HTTPS certificate. Possible values are `Shared` and `Dedicated`.
         * 
         * @return builder
         * 
         */
        public Builder certificateType(Output certificateType) {
            $.certificateType = certificateType;
            return this;
        }

        /**
         * @param certificateType The type of HTTPS certificate. Possible values are `Shared` and `Dedicated`.
         * 
         * @return builder
         * 
         */
        public Builder certificateType(String certificateType) {
            return certificateType(Output.of(certificateType));
        }

        /**
         * @param protocolType The type of protocol. Possible values are `ServerNameIndication` and `IPBased`.
         * 
         * @return builder
         * 
         */
        public Builder protocolType(Output protocolType) {
            $.protocolType = protocolType;
            return this;
        }

        /**
         * @param protocolType The type of protocol. Possible values are `ServerNameIndication` and `IPBased`.
         * 
         * @return builder
         * 
         */
        public Builder protocolType(String protocolType) {
            return protocolType(Output.of(protocolType));
        }

        /**
         * @param tlsVersion The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
         * 
         * @return builder
         * 
         */
        public Builder tlsVersion(@Nullable Output tlsVersion) {
            $.tlsVersion = tlsVersion;
            return this;
        }

        /**
         * @param tlsVersion The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
         * 
         * @return builder
         * 
         */
        public Builder tlsVersion(String tlsVersion) {
            return tlsVersion(Output.of(tlsVersion));
        }

        public EndpointCustomDomainCdnManagedHttpsArgs build() {
            if ($.certificateType == null) {
                throw new MissingRequiredPropertyException("EndpointCustomDomainCdnManagedHttpsArgs", "certificateType");
            }
            if ($.protocolType == null) {
                throw new MissingRequiredPropertyException("EndpointCustomDomainCdnManagedHttpsArgs", "protocolType");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy