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

com.pulumi.aws.identitystore.GroupArgs 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.identitystore;

import com.pulumi.core.Output;
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 GroupArgs extends com.pulumi.resources.ResourceArgs {

    public static final GroupArgs Empty = new GroupArgs();

    /**
     * A string containing the description of the group.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A string containing the description of the group.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * A string containing the name of the group. This value is commonly displayed when the group is referenced.
     * 
     */
    @Import(name="displayName", required=true)
    private Output displayName;

    /**
     * @return A string containing the name of the group. This value is commonly displayed when the group is referenced.
     * 
     */
    public Output displayName() {
        return this.displayName;
    }

    /**
     * The globally unique identifier for the identity store.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="identityStoreId", required=true)
    private Output identityStoreId;

    /**
     * @return The globally unique identifier for the identity store.
     * 
     * The following arguments are optional:
     * 
     */
    public Output identityStoreId() {
        return this.identityStoreId;
    }

    private GroupArgs() {}

    private GroupArgs(GroupArgs $) {
        this.description = $.description;
        this.displayName = $.displayName;
        this.identityStoreId = $.identityStoreId;
    }

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

    public static final class Builder {
        private GroupArgs $;

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

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

        /**
         * @param description A string containing the description of the group.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A string containing the description of the group.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName A string containing the name of the group. This value is commonly displayed when the group is referenced.
         * 
         * @return builder
         * 
         */
        public Builder displayName(Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName A string containing the name of the group. This value is commonly displayed when the group is referenced.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param identityStoreId The globally unique identifier for the identity store.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder identityStoreId(Output identityStoreId) {
            $.identityStoreId = identityStoreId;
            return this;
        }

        /**
         * @param identityStoreId The globally unique identifier for the identity store.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder identityStoreId(String identityStoreId) {
            return identityStoreId(Output.of(identityStoreId));
        }

        public GroupArgs build() {
            if ($.displayName == null) {
                throw new MissingRequiredPropertyException("GroupArgs", "displayName");
            }
            if ($.identityStoreId == null) {
                throw new MissingRequiredPropertyException("GroupArgs", "identityStoreId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy