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

com.pulumi.azure.streamanalytics.inputs.JobJobStorageAccountArgs 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.streamanalytics.inputs;

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

    public static final JobJobStorageAccountArgs Empty = new JobJobStorageAccountArgs();

    /**
     * The account key for the Azure storage account.
     * 
     */
    @Import(name="accountKey", required=true)
    private Output accountKey;

    /**
     * @return The account key for the Azure storage account.
     * 
     */
    public Output accountKey() {
        return this.accountKey;
    }

    /**
     * The name of the Azure storage account.
     * 
     */
    @Import(name="accountName", required=true)
    private Output accountName;

    /**
     * @return The name of the Azure storage account.
     * 
     */
    public Output accountName() {
        return this.accountName;
    }

    /**
     * The authentication mode of the storage account. The only supported value is `ConnectionString`. Defaults to `ConnectionString`.
     * 
     */
    @Import(name="authenticationMode")
    private @Nullable Output authenticationMode;

    /**
     * @return The authentication mode of the storage account. The only supported value is `ConnectionString`. Defaults to `ConnectionString`.
     * 
     */
    public Optional> authenticationMode() {
        return Optional.ofNullable(this.authenticationMode);
    }

    private JobJobStorageAccountArgs() {}

    private JobJobStorageAccountArgs(JobJobStorageAccountArgs $) {
        this.accountKey = $.accountKey;
        this.accountName = $.accountName;
        this.authenticationMode = $.authenticationMode;
    }

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

    public static final class Builder {
        private JobJobStorageAccountArgs $;

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

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

        /**
         * @param accountKey The account key for the Azure storage account.
         * 
         * @return builder
         * 
         */
        public Builder accountKey(Output accountKey) {
            $.accountKey = accountKey;
            return this;
        }

        /**
         * @param accountKey The account key for the Azure storage account.
         * 
         * @return builder
         * 
         */
        public Builder accountKey(String accountKey) {
            return accountKey(Output.of(accountKey));
        }

        /**
         * @param accountName The name of the Azure storage account.
         * 
         * @return builder
         * 
         */
        public Builder accountName(Output accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param accountName The name of the Azure storage account.
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            return accountName(Output.of(accountName));
        }

        /**
         * @param authenticationMode The authentication mode of the storage account. The only supported value is `ConnectionString`. Defaults to `ConnectionString`.
         * 
         * @return builder
         * 
         */
        public Builder authenticationMode(@Nullable Output authenticationMode) {
            $.authenticationMode = authenticationMode;
            return this;
        }

        /**
         * @param authenticationMode The authentication mode of the storage account. The only supported value is `ConnectionString`. Defaults to `ConnectionString`.
         * 
         * @return builder
         * 
         */
        public Builder authenticationMode(String authenticationMode) {
            return authenticationMode(Output.of(authenticationMode));
        }

        public JobJobStorageAccountArgs build() {
            if ($.accountKey == null) {
                throw new MissingRequiredPropertyException("JobJobStorageAccountArgs", "accountKey");
            }
            if ($.accountName == null) {
                throw new MissingRequiredPropertyException("JobJobStorageAccountArgs", "accountName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy