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

com.pulumi.azure.servicefabric.inputs.ClusterCertificateCommonNamesArgs 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.10.0-alpha.1731737215
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.servicefabric.inputs;

import com.pulumi.azure.servicefabric.inputs.ClusterCertificateCommonNamesCommonNameArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final ClusterCertificateCommonNamesArgs Empty = new ClusterCertificateCommonNamesArgs();

    /**
     * A `common_names` block as defined below.
     * 
     */
    @Import(name="commonNames", required=true)
    private Output> commonNames;

    /**
     * @return A `common_names` block as defined below.
     * 
     */
    public Output> commonNames() {
        return this.commonNames;
    }

    /**
     * The X509 Store where the Certificate Exists, such as `My`.
     * 
     */
    @Import(name="x509StoreName", required=true)
    private Output x509StoreName;

    /**
     * @return The X509 Store where the Certificate Exists, such as `My`.
     * 
     */
    public Output x509StoreName() {
        return this.x509StoreName;
    }

    private ClusterCertificateCommonNamesArgs() {}

    private ClusterCertificateCommonNamesArgs(ClusterCertificateCommonNamesArgs $) {
        this.commonNames = $.commonNames;
        this.x509StoreName = $.x509StoreName;
    }

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

    public static final class Builder {
        private ClusterCertificateCommonNamesArgs $;

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

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

        /**
         * @param commonNames A `common_names` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder commonNames(Output> commonNames) {
            $.commonNames = commonNames;
            return this;
        }

        /**
         * @param commonNames A `common_names` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder commonNames(List commonNames) {
            return commonNames(Output.of(commonNames));
        }

        /**
         * @param commonNames A `common_names` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder commonNames(ClusterCertificateCommonNamesCommonNameArgs... commonNames) {
            return commonNames(List.of(commonNames));
        }

        /**
         * @param x509StoreName The X509 Store where the Certificate Exists, such as `My`.
         * 
         * @return builder
         * 
         */
        public Builder x509StoreName(Output x509StoreName) {
            $.x509StoreName = x509StoreName;
            return this;
        }

        /**
         * @param x509StoreName The X509 Store where the Certificate Exists, such as `My`.
         * 
         * @return builder
         * 
         */
        public Builder x509StoreName(String x509StoreName) {
            return x509StoreName(Output.of(x509StoreName));
        }

        public ClusterCertificateCommonNamesArgs build() {
            if ($.commonNames == null) {
                throw new MissingRequiredPropertyException("ClusterCertificateCommonNamesArgs", "commonNames");
            }
            if ($.x509StoreName == null) {
                throw new MissingRequiredPropertyException("ClusterCertificateCommonNamesArgs", "x509StoreName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy