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

com.pulumi.azure.appconfiguration.inputs.ConfigurationStoreSecondaryReadKeyArgs 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.appconfiguration.inputs;

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


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

    public static final ConfigurationStoreSecondaryReadKeyArgs Empty = new ConfigurationStoreSecondaryReadKeyArgs();

    /**
     * The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.
     * 
     */
    @Import(name="connectionString")
    private @Nullable Output connectionString;

    /**
     * @return The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.
     * 
     */
    public Optional> connectionString() {
        return Optional.ofNullable(this.connectionString);
    }

    /**
     * The ID of the Access Key.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return The ID of the Access Key.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The Secret of the Access Key.
     * 
     */
    @Import(name="secret")
    private @Nullable Output secret;

    /**
     * @return The Secret of the Access Key.
     * 
     */
    public Optional> secret() {
        return Optional.ofNullable(this.secret);
    }

    private ConfigurationStoreSecondaryReadKeyArgs() {}

    private ConfigurationStoreSecondaryReadKeyArgs(ConfigurationStoreSecondaryReadKeyArgs $) {
        this.connectionString = $.connectionString;
        this.id = $.id;
        this.secret = $.secret;
    }

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

    public static final class Builder {
        private ConfigurationStoreSecondaryReadKeyArgs $;

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

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

        /**
         * @param connectionString The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.
         * 
         * @return builder
         * 
         */
        public Builder connectionString(@Nullable Output connectionString) {
            $.connectionString = connectionString;
            return this;
        }

        /**
         * @param connectionString The Connection String for this Access Key - comprising of the Endpoint, ID and Secret.
         * 
         * @return builder
         * 
         */
        public Builder connectionString(String connectionString) {
            return connectionString(Output.of(connectionString));
        }

        /**
         * @param id The ID of the Access Key.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The ID of the Access Key.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param secret The Secret of the Access Key.
         * 
         * @return builder
         * 
         */
        public Builder secret(@Nullable Output secret) {
            $.secret = secret;
            return this;
        }

        /**
         * @param secret The Secret of the Access Key.
         * 
         * @return builder
         * 
         */
        public Builder secret(String secret) {
            return secret(Output.of(secret));
        }

        public ConfigurationStoreSecondaryReadKeyArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy