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

com.pulumi.aws.quicksight.inputs.GetQuicksightUserPlainArgs 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.aws.quicksight.inputs;

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 GetQuicksightUserPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetQuicksightUserPlainArgs Empty = new GetQuicksightUserPlainArgs();

    /**
     * AWS account ID.
     * 
     */
    @Import(name="awsAccountId")
    private @Nullable String awsAccountId;

    /**
     * @return AWS account ID.
     * 
     */
    public Optional awsAccountId() {
        return Optional.ofNullable(this.awsAccountId);
    }

    /**
     * QuickSight namespace. Defaults to `default`.
     * 
     */
    @Import(name="namespace")
    private @Nullable String namespace;

    /**
     * @return QuickSight namespace. Defaults to `default`.
     * 
     */
    public Optional namespace() {
        return Optional.ofNullable(this.namespace);
    }

    /**
     * The name of the user that you want to match.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="userName", required=true)
    private String userName;

    /**
     * @return The name of the user that you want to match.
     * 
     * The following arguments are optional:
     * 
     */
    public String userName() {
        return this.userName;
    }

    private GetQuicksightUserPlainArgs() {}

    private GetQuicksightUserPlainArgs(GetQuicksightUserPlainArgs $) {
        this.awsAccountId = $.awsAccountId;
        this.namespace = $.namespace;
        this.userName = $.userName;
    }

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

    public static final class Builder {
        private GetQuicksightUserPlainArgs $;

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

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

        /**
         * @param awsAccountId AWS account ID.
         * 
         * @return builder
         * 
         */
        public Builder awsAccountId(@Nullable String awsAccountId) {
            $.awsAccountId = awsAccountId;
            return this;
        }

        /**
         * @param namespace QuickSight namespace. Defaults to `default`.
         * 
         * @return builder
         * 
         */
        public Builder namespace(@Nullable String namespace) {
            $.namespace = namespace;
            return this;
        }

        /**
         * @param userName The name of the user that you want to match.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder userName(String userName) {
            $.userName = userName;
            return this;
        }

        public GetQuicksightUserPlainArgs build() {
            if ($.userName == null) {
                throw new MissingRequiredPropertyException("GetQuicksightUserPlainArgs", "userName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy