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

com.pulumi.azurenative.signalrservice.SignalRCustomCertificateArgs 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.signalrservice;

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 SignalRCustomCertificateArgs extends com.pulumi.resources.ResourceArgs {

    public static final SignalRCustomCertificateArgs Empty = new SignalRCustomCertificateArgs();

    /**
     * Custom certificate name
     * 
     */
    @Import(name="certificateName")
    private @Nullable Output certificateName;

    /**
     * @return Custom certificate name
     * 
     */
    public Optional> certificateName() {
        return Optional.ofNullable(this.certificateName);
    }

    /**
     * Base uri of the KeyVault that stores certificate.
     * 
     */
    @Import(name="keyVaultBaseUri", required=true)
    private Output keyVaultBaseUri;

    /**
     * @return Base uri of the KeyVault that stores certificate.
     * 
     */
    public Output keyVaultBaseUri() {
        return this.keyVaultBaseUri;
    }

    /**
     * Certificate secret name.
     * 
     */
    @Import(name="keyVaultSecretName", required=true)
    private Output keyVaultSecretName;

    /**
     * @return Certificate secret name.
     * 
     */
    public Output keyVaultSecretName() {
        return this.keyVaultSecretName;
    }

    /**
     * Certificate secret version.
     * 
     */
    @Import(name="keyVaultSecretVersion")
    private @Nullable Output keyVaultSecretVersion;

    /**
     * @return Certificate secret version.
     * 
     */
    public Optional> keyVaultSecretVersion() {
        return Optional.ofNullable(this.keyVaultSecretVersion);
    }

    /**
     * The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the resource.
     * 
     */
    @Import(name="resourceName", required=true)
    private Output resourceName;

    /**
     * @return The name of the resource.
     * 
     */
    public Output resourceName() {
        return this.resourceName;
    }

    private SignalRCustomCertificateArgs() {}

    private SignalRCustomCertificateArgs(SignalRCustomCertificateArgs $) {
        this.certificateName = $.certificateName;
        this.keyVaultBaseUri = $.keyVaultBaseUri;
        this.keyVaultSecretName = $.keyVaultSecretName;
        this.keyVaultSecretVersion = $.keyVaultSecretVersion;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceName = $.resourceName;
    }

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

    public static final class Builder {
        private SignalRCustomCertificateArgs $;

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

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

        /**
         * @param certificateName Custom certificate name
         * 
         * @return builder
         * 
         */
        public Builder certificateName(@Nullable Output certificateName) {
            $.certificateName = certificateName;
            return this;
        }

        /**
         * @param certificateName Custom certificate name
         * 
         * @return builder
         * 
         */
        public Builder certificateName(String certificateName) {
            return certificateName(Output.of(certificateName));
        }

        /**
         * @param keyVaultBaseUri Base uri of the KeyVault that stores certificate.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultBaseUri(Output keyVaultBaseUri) {
            $.keyVaultBaseUri = keyVaultBaseUri;
            return this;
        }

        /**
         * @param keyVaultBaseUri Base uri of the KeyVault that stores certificate.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultBaseUri(String keyVaultBaseUri) {
            return keyVaultBaseUri(Output.of(keyVaultBaseUri));
        }

        /**
         * @param keyVaultSecretName Certificate secret name.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultSecretName(Output keyVaultSecretName) {
            $.keyVaultSecretName = keyVaultSecretName;
            return this;
        }

        /**
         * @param keyVaultSecretName Certificate secret name.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultSecretName(String keyVaultSecretName) {
            return keyVaultSecretName(Output.of(keyVaultSecretName));
        }

        /**
         * @param keyVaultSecretVersion Certificate secret version.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultSecretVersion(@Nullable Output keyVaultSecretVersion) {
            $.keyVaultSecretVersion = keyVaultSecretVersion;
            return this;
        }

        /**
         * @param keyVaultSecretVersion Certificate secret version.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultSecretVersion(String keyVaultSecretVersion) {
            return keyVaultSecretVersion(Output.of(keyVaultSecretVersion));
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param resourceName The name of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceName(Output resourceName) {
            $.resourceName = resourceName;
            return this;
        }

        /**
         * @param resourceName The name of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceName(String resourceName) {
            return resourceName(Output.of(resourceName));
        }

        public SignalRCustomCertificateArgs build() {
            if ($.keyVaultBaseUri == null) {
                throw new MissingRequiredPropertyException("SignalRCustomCertificateArgs", "keyVaultBaseUri");
            }
            if ($.keyVaultSecretName == null) {
                throw new MissingRequiredPropertyException("SignalRCustomCertificateArgs", "keyVaultSecretName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("SignalRCustomCertificateArgs", "resourceGroupName");
            }
            if ($.resourceName == null) {
                throw new MissingRequiredPropertyException("SignalRCustomCertificateArgs", "resourceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy