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

com.pulumi.azurenative.certificateregistration.AppServiceCertificateOrderCertificateArgs 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.certificateregistration;

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


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

    public static final AppServiceCertificateOrderCertificateArgs Empty = new AppServiceCertificateOrderCertificateArgs();

    /**
     * Name of the certificate order.
     * 
     */
    @Import(name="certificateOrderName", required=true)
    private Output certificateOrderName;

    /**
     * @return Name of the certificate order.
     * 
     */
    public Output certificateOrderName() {
        return this.certificateOrderName;
    }

    /**
     * Key Vault resource Id.
     * 
     */
    @Import(name="keyVaultId")
    private @Nullable Output keyVaultId;

    /**
     * @return Key Vault resource Id.
     * 
     */
    public Optional> keyVaultId() {
        return Optional.ofNullable(this.keyVaultId);
    }

    /**
     * Key Vault secret name.
     * 
     */
    @Import(name="keyVaultSecretName")
    private @Nullable Output keyVaultSecretName;

    /**
     * @return Key Vault secret name.
     * 
     */
    public Optional> keyVaultSecretName() {
        return Optional.ofNullable(this.keyVaultSecretName);
    }

    /**
     * Kind of resource.
     * 
     */
    @Import(name="kind")
    private @Nullable Output kind;

    /**
     * @return Kind of resource.
     * 
     */
    public Optional> kind() {
        return Optional.ofNullable(this.kind);
    }

    /**
     * Resource Location.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Resource Location.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Name of the certificate.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the certificate.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Name of the resource group to which the resource belongs.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Name of the resource group to which the resource belongs.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private AppServiceCertificateOrderCertificateArgs() {}

    private AppServiceCertificateOrderCertificateArgs(AppServiceCertificateOrderCertificateArgs $) {
        this.certificateOrderName = $.certificateOrderName;
        this.keyVaultId = $.keyVaultId;
        this.keyVaultSecretName = $.keyVaultSecretName;
        this.kind = $.kind;
        this.location = $.location;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private AppServiceCertificateOrderCertificateArgs $;

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

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

        /**
         * @param certificateOrderName Name of the certificate order.
         * 
         * @return builder
         * 
         */
        public Builder certificateOrderName(Output certificateOrderName) {
            $.certificateOrderName = certificateOrderName;
            return this;
        }

        /**
         * @param certificateOrderName Name of the certificate order.
         * 
         * @return builder
         * 
         */
        public Builder certificateOrderName(String certificateOrderName) {
            return certificateOrderName(Output.of(certificateOrderName));
        }

        /**
         * @param keyVaultId Key Vault resource Id.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultId(@Nullable Output keyVaultId) {
            $.keyVaultId = keyVaultId;
            return this;
        }

        /**
         * @param keyVaultId Key Vault resource Id.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultId(String keyVaultId) {
            return keyVaultId(Output.of(keyVaultId));
        }

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

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

        /**
         * @param kind Kind of resource.
         * 
         * @return builder
         * 
         */
        public Builder kind(@Nullable Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind Kind of resource.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Output.of(kind));
        }

        /**
         * @param location Resource Location.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Resource Location.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

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

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

        /**
         * @param resourceGroupName Name of the resource group to which the resource belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the resource group to which the resource belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public AppServiceCertificateOrderCertificateArgs build() {
            if ($.certificateOrderName == null) {
                throw new MissingRequiredPropertyException("AppServiceCertificateOrderCertificateArgs", "certificateOrderName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("AppServiceCertificateOrderCertificateArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy