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

com.pulumi.aws.quicksight.inputs.GroupMembershipState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.quicksight.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 GroupMembershipState extends com.pulumi.resources.ResourceArgs {

    public static final GroupMembershipState Empty = new GroupMembershipState();

    @Import(name="arn")
    private @Nullable Output arn;

    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
     * 
     */
    @Import(name="awsAccountId")
    private @Nullable Output awsAccountId;

    /**
     * @return The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
     * 
     */
    public Optional> awsAccountId() {
        return Optional.ofNullable(this.awsAccountId);
    }

    /**
     * The name of the group in which the member will be added.
     * 
     */
    @Import(name="groupName")
    private @Nullable Output groupName;

    /**
     * @return The name of the group in which the member will be added.
     * 
     */
    public Optional> groupName() {
        return Optional.ofNullable(this.groupName);
    }

    /**
     * The name of the member to add to the group.
     * 
     */
    @Import(name="memberName")
    private @Nullable Output memberName;

    /**
     * @return The name of the member to add to the group.
     * 
     */
    public Optional> memberName() {
        return Optional.ofNullable(this.memberName);
    }

    /**
     * The namespace that you want the user to be a part of. Defaults to `default`.
     * 
     */
    @Import(name="namespace")
    private @Nullable Output namespace;

    /**
     * @return The namespace that you want the user to be a part of. Defaults to `default`.
     * 
     */
    public Optional> namespace() {
        return Optional.ofNullable(this.namespace);
    }

    private GroupMembershipState() {}

    private GroupMembershipState(GroupMembershipState $) {
        this.arn = $.arn;
        this.awsAccountId = $.awsAccountId;
        this.groupName = $.groupName;
        this.memberName = $.memberName;
        this.namespace = $.namespace;
    }

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

    public static final class Builder {
        private GroupMembershipState $;

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

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

        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param awsAccountId The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
         * 
         * @return builder
         * 
         */
        public Builder awsAccountId(@Nullable Output awsAccountId) {
            $.awsAccountId = awsAccountId;
            return this;
        }

        /**
         * @param awsAccountId The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
         * 
         * @return builder
         * 
         */
        public Builder awsAccountId(String awsAccountId) {
            return awsAccountId(Output.of(awsAccountId));
        }

        /**
         * @param groupName The name of the group in which the member will be added.
         * 
         * @return builder
         * 
         */
        public Builder groupName(@Nullable Output groupName) {
            $.groupName = groupName;
            return this;
        }

        /**
         * @param groupName The name of the group in which the member will be added.
         * 
         * @return builder
         * 
         */
        public Builder groupName(String groupName) {
            return groupName(Output.of(groupName));
        }

        /**
         * @param memberName The name of the member to add to the group.
         * 
         * @return builder
         * 
         */
        public Builder memberName(@Nullable Output memberName) {
            $.memberName = memberName;
            return this;
        }

        /**
         * @param memberName The name of the member to add to the group.
         * 
         * @return builder
         * 
         */
        public Builder memberName(String memberName) {
            return memberName(Output.of(memberName));
        }

        /**
         * @param namespace The namespace that you want the user to be a part of. Defaults to `default`.
         * 
         * @return builder
         * 
         */
        public Builder namespace(@Nullable Output namespace) {
            $.namespace = namespace;
            return this;
        }

        /**
         * @param namespace The namespace that you want the user to be a part of. Defaults to `default`.
         * 
         * @return builder
         * 
         */
        public Builder namespace(String namespace) {
            return namespace(Output.of(namespace));
        }

        public GroupMembershipState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy