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

com.pulumi.azurenative.streamanalytics.inputs.JobStorageAccountArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.streamanalytics.inputs;

import com.pulumi.azurenative.streamanalytics.enums.AuthenticationMode;
import com.pulumi.core.Either;
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;


/**
 * The properties that are associated with an Azure Storage account with MSI
 * 
 */
public final class JobStorageAccountArgs extends com.pulumi.resources.ResourceArgs {

    public static final JobStorageAccountArgs Empty = new JobStorageAccountArgs();

    /**
     * The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
     * 
     */
    @Import(name="accountKey")
    private @Nullable Output accountKey;

    /**
     * @return The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
     * 
     */
    public Optional> accountKey() {
        return Optional.ofNullable(this.accountKey);
    }

    /**
     * The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
     * 
     */
    @Import(name="accountName")
    private @Nullable Output accountName;

    /**
     * @return The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
     * 
     */
    public Optional> accountName() {
        return Optional.ofNullable(this.accountName);
    }

    /**
     * Authentication Mode.
     * 
     */
    @Import(name="authenticationMode")
    private @Nullable Output> authenticationMode;

    /**
     * @return Authentication Mode.
     * 
     */
    public Optional>> authenticationMode() {
        return Optional.ofNullable(this.authenticationMode);
    }

    private JobStorageAccountArgs() {}

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

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

    public static final class Builder {
        private JobStorageAccountArgs $;

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

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

        /**
         * @param accountKey The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder accountKey(@Nullable Output accountKey) {
            $.accountKey = accountKey;
            return this;
        }

        /**
         * @param accountKey The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder accountKey(String accountKey) {
            return accountKey(Output.of(accountKey));
        }

        /**
         * @param accountName The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder accountName(@Nullable Output accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param accountName The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            return accountName(Output.of(accountName));
        }

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

        /**
         * @param authenticationMode Authentication Mode.
         * 
         * @return builder
         * 
         */
        public Builder authenticationMode(Either authenticationMode) {
            return authenticationMode(Output.of(authenticationMode));
        }

        /**
         * @param authenticationMode Authentication Mode.
         * 
         * @return builder
         * 
         */
        public Builder authenticationMode(String authenticationMode) {
            return authenticationMode(Either.ofLeft(authenticationMode));
        }

        /**
         * @param authenticationMode Authentication Mode.
         * 
         * @return builder
         * 
         */
        public Builder authenticationMode(AuthenticationMode authenticationMode) {
            return authenticationMode(Either.ofRight(authenticationMode));
        }

        public JobStorageAccountArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy