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

com.pulumi.azurenative.iotoperationsmq.inputs.DataLakeServiceStorageAuthenticationArgs Maven / Gradle / Ivy

// *** 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.iotoperationsmq.inputs;

import com.pulumi.azurenative.iotoperationsmq.inputs.ManagedIdentityAuthenticationArgs;
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;


/**
 * DataLake Service Storage authentication details. NOTE - Enum only one method is supported.
 * 
 */
public final class DataLakeServiceStorageAuthenticationArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataLakeServiceStorageAuthenticationArgs Empty = new DataLakeServiceStorageAuthenticationArgs();

    /**
     * Access token secret name.
     * 
     */
    @Import(name="accessTokenSecretName")
    private @Nullable Output accessTokenSecretName;

    /**
     * @return Access token secret name.
     * 
     */
    public Optional> accessTokenSecretName() {
        return Optional.ofNullable(this.accessTokenSecretName);
    }

    /**
     * Configuration for managed identity authentication.
     * 
     */
    @Import(name="systemAssignedManagedIdentity")
    private @Nullable Output systemAssignedManagedIdentity;

    /**
     * @return Configuration for managed identity authentication.
     * 
     */
    public Optional> systemAssignedManagedIdentity() {
        return Optional.ofNullable(this.systemAssignedManagedIdentity);
    }

    private DataLakeServiceStorageAuthenticationArgs() {}

    private DataLakeServiceStorageAuthenticationArgs(DataLakeServiceStorageAuthenticationArgs $) {
        this.accessTokenSecretName = $.accessTokenSecretName;
        this.systemAssignedManagedIdentity = $.systemAssignedManagedIdentity;
    }

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

    public static final class Builder {
        private DataLakeServiceStorageAuthenticationArgs $;

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

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

        /**
         * @param accessTokenSecretName Access token secret name.
         * 
         * @return builder
         * 
         */
        public Builder accessTokenSecretName(@Nullable Output accessTokenSecretName) {
            $.accessTokenSecretName = accessTokenSecretName;
            return this;
        }

        /**
         * @param accessTokenSecretName Access token secret name.
         * 
         * @return builder
         * 
         */
        public Builder accessTokenSecretName(String accessTokenSecretName) {
            return accessTokenSecretName(Output.of(accessTokenSecretName));
        }

        /**
         * @param systemAssignedManagedIdentity Configuration for managed identity authentication.
         * 
         * @return builder
         * 
         */
        public Builder systemAssignedManagedIdentity(@Nullable Output systemAssignedManagedIdentity) {
            $.systemAssignedManagedIdentity = systemAssignedManagedIdentity;
            return this;
        }

        /**
         * @param systemAssignedManagedIdentity Configuration for managed identity authentication.
         * 
         * @return builder
         * 
         */
        public Builder systemAssignedManagedIdentity(ManagedIdentityAuthenticationArgs systemAssignedManagedIdentity) {
            return systemAssignedManagedIdentity(Output.of(systemAssignedManagedIdentity));
        }

        public DataLakeServiceStorageAuthenticationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy