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

com.pulumi.azurenative.machinelearningservices.inputs.SslConfigurationArgs Maven / Gradle / Ivy

// *** 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.machinelearningservices.inputs;

import com.pulumi.azurenative.machinelearningservices.enums.SslConfigStatus;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The ssl configuration for scoring
 * 
 */
public final class SslConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final SslConfigurationArgs Empty = new SslConfigurationArgs();

    /**
     * Cert data
     * 
     */
    @Import(name="cert")
    private @Nullable Output cert;

    /**
     * @return Cert data
     * 
     */
    public Optional> cert() {
        return Optional.ofNullable(this.cert);
    }

    /**
     * CNAME of the cert
     * 
     */
    @Import(name="cname")
    private @Nullable Output cname;

    /**
     * @return CNAME of the cert
     * 
     */
    public Optional> cname() {
        return Optional.ofNullable(this.cname);
    }

    /**
     * Key data
     * 
     */
    @Import(name="key")
    private @Nullable Output key;

    /**
     * @return Key data
     * 
     */
    public Optional> key() {
        return Optional.ofNullable(this.key);
    }

    /**
     * Leaf domain label of public endpoint
     * 
     */
    @Import(name="leafDomainLabel")
    private @Nullable Output leafDomainLabel;

    /**
     * @return Leaf domain label of public endpoint
     * 
     */
    public Optional> leafDomainLabel() {
        return Optional.ofNullable(this.leafDomainLabel);
    }

    /**
     * Indicates whether to overwrite existing domain label.
     * 
     */
    @Import(name="overwriteExistingDomain")
    private @Nullable Output overwriteExistingDomain;

    /**
     * @return Indicates whether to overwrite existing domain label.
     * 
     */
    public Optional> overwriteExistingDomain() {
        return Optional.ofNullable(this.overwriteExistingDomain);
    }

    /**
     * Enable or disable ssl for scoring
     * 
     */
    @Import(name="status")
    private @Nullable Output> status;

    /**
     * @return Enable or disable ssl for scoring
     * 
     */
    public Optional>> status() {
        return Optional.ofNullable(this.status);
    }

    private SslConfigurationArgs() {}

    private SslConfigurationArgs(SslConfigurationArgs $) {
        this.cert = $.cert;
        this.cname = $.cname;
        this.key = $.key;
        this.leafDomainLabel = $.leafDomainLabel;
        this.overwriteExistingDomain = $.overwriteExistingDomain;
        this.status = $.status;
    }

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

    public static final class Builder {
        private SslConfigurationArgs $;

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

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

        /**
         * @param cert Cert data
         * 
         * @return builder
         * 
         */
        public Builder cert(@Nullable Output cert) {
            $.cert = cert;
            return this;
        }

        /**
         * @param cert Cert data
         * 
         * @return builder
         * 
         */
        public Builder cert(String cert) {
            return cert(Output.of(cert));
        }

        /**
         * @param cname CNAME of the cert
         * 
         * @return builder
         * 
         */
        public Builder cname(@Nullable Output cname) {
            $.cname = cname;
            return this;
        }

        /**
         * @param cname CNAME of the cert
         * 
         * @return builder
         * 
         */
        public Builder cname(String cname) {
            return cname(Output.of(cname));
        }

        /**
         * @param key Key data
         * 
         * @return builder
         * 
         */
        public Builder key(@Nullable Output key) {
            $.key = key;
            return this;
        }

        /**
         * @param key Key data
         * 
         * @return builder
         * 
         */
        public Builder key(String key) {
            return key(Output.of(key));
        }

        /**
         * @param leafDomainLabel Leaf domain label of public endpoint
         * 
         * @return builder
         * 
         */
        public Builder leafDomainLabel(@Nullable Output leafDomainLabel) {
            $.leafDomainLabel = leafDomainLabel;
            return this;
        }

        /**
         * @param leafDomainLabel Leaf domain label of public endpoint
         * 
         * @return builder
         * 
         */
        public Builder leafDomainLabel(String leafDomainLabel) {
            return leafDomainLabel(Output.of(leafDomainLabel));
        }

        /**
         * @param overwriteExistingDomain Indicates whether to overwrite existing domain label.
         * 
         * @return builder
         * 
         */
        public Builder overwriteExistingDomain(@Nullable Output overwriteExistingDomain) {
            $.overwriteExistingDomain = overwriteExistingDomain;
            return this;
        }

        /**
         * @param overwriteExistingDomain Indicates whether to overwrite existing domain label.
         * 
         * @return builder
         * 
         */
        public Builder overwriteExistingDomain(Boolean overwriteExistingDomain) {
            return overwriteExistingDomain(Output.of(overwriteExistingDomain));
        }

        /**
         * @param status Enable or disable ssl for scoring
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output> status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Enable or disable ssl for scoring
         * 
         * @return builder
         * 
         */
        public Builder status(Either status) {
            return status(Output.of(status));
        }

        /**
         * @param status Enable or disable ssl for scoring
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Either.ofLeft(status));
        }

        /**
         * @param status Enable or disable ssl for scoring
         * 
         * @return builder
         * 
         */
        public Builder status(SslConfigStatus status) {
            return status(Either.ofRight(status));
        }

        public SslConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy