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

com.pulumi.aws.quicksight.outputs.GetQuicksightGroupResult Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
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.aws.quicksight.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetQuicksightGroupResult {
    /**
     * @return The Amazon Resource Name (ARN) for the group.
     * 
     */
    private String arn;
    private String awsAccountId;
    /**
     * @return The group description.
     * 
     */
    private String description;
    private String groupName;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private @Nullable String namespace;
    /**
     * @return The principal ID of the group.
     * 
     */
    private String principalId;

    private GetQuicksightGroupResult() {}
    /**
     * @return The Amazon Resource Name (ARN) for the group.
     * 
     */
    public String arn() {
        return this.arn;
    }
    public String awsAccountId() {
        return this.awsAccountId;
    }
    /**
     * @return The group description.
     * 
     */
    public String description() {
        return this.description;
    }
    public String groupName() {
        return this.groupName;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public Optional namespace() {
        return Optional.ofNullable(this.namespace);
    }
    /**
     * @return The principal ID of the group.
     * 
     */
    public String principalId() {
        return this.principalId;
    }

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

    public static Builder builder(GetQuicksightGroupResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private String awsAccountId;
        private String description;
        private String groupName;
        private String id;
        private @Nullable String namespace;
        private String principalId;
        public Builder() {}
        public Builder(GetQuicksightGroupResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.awsAccountId = defaults.awsAccountId;
    	      this.description = defaults.description;
    	      this.groupName = defaults.groupName;
    	      this.id = defaults.id;
    	      this.namespace = defaults.namespace;
    	      this.principalId = defaults.principalId;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            if (arn == null) {
              throw new MissingRequiredPropertyException("GetQuicksightGroupResult", "arn");
            }
            this.arn = arn;
            return this;
        }
        @CustomType.Setter
        public Builder awsAccountId(String awsAccountId) {
            if (awsAccountId == null) {
              throw new MissingRequiredPropertyException("GetQuicksightGroupResult", "awsAccountId");
            }
            this.awsAccountId = awsAccountId;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetQuicksightGroupResult", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder groupName(String groupName) {
            if (groupName == null) {
              throw new MissingRequiredPropertyException("GetQuicksightGroupResult", "groupName");
            }
            this.groupName = groupName;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetQuicksightGroupResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder namespace(@Nullable String namespace) {

            this.namespace = namespace;
            return this;
        }
        @CustomType.Setter
        public Builder principalId(String principalId) {
            if (principalId == null) {
              throw new MissingRequiredPropertyException("GetQuicksightGroupResult", "principalId");
            }
            this.principalId = principalId;
            return this;
        }
        public GetQuicksightGroupResult build() {
            final var _resultValue = new GetQuicksightGroupResult();
            _resultValue.arn = arn;
            _resultValue.awsAccountId = awsAccountId;
            _resultValue.description = description;
            _resultValue.groupName = groupName;
            _resultValue.id = id;
            _resultValue.namespace = namespace;
            _resultValue.principalId = principalId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy