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

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

import com.pulumi.aws.identitystore.inputs.GetGroupAlternateIdentifier;
import com.pulumi.aws.identitystore.inputs.GetGroupFilter;
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 GetGroupPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetGroupPlainArgs Empty = new GetGroupPlainArgs();

    /**
     * A unique identifier for the group that is not the primary identifier. Conflicts with `group_id` and `filter`. Detailed below.
     * 
     */
    @Import(name="alternateIdentifier")
    private @Nullable GetGroupAlternateIdentifier alternateIdentifier;

    /**
     * @return A unique identifier for the group that is not the primary identifier. Conflicts with `group_id` and `filter`. Detailed below.
     * 
     */
    public Optional alternateIdentifier() {
        return Optional.ofNullable(this.alternateIdentifier);
    }

    /**
     * Configuration block for filtering by a unique attribute of the group. Detailed below.
     * 
     * @deprecated
     * Use the alternate_identifier attribute instead.
     * 
     */
    @Deprecated /* Use the alternate_identifier attribute instead. */
    @Import(name="filter")
    private @Nullable GetGroupFilter filter;

    /**
     * @return Configuration block for filtering by a unique attribute of the group. Detailed below.
     * 
     * @deprecated
     * Use the alternate_identifier attribute instead.
     * 
     */
    @Deprecated /* Use the alternate_identifier attribute instead. */
    public Optional filter() {
        return Optional.ofNullable(this.filter);
    }

    /**
     * The identifier for a group in the Identity Store.
     * 
     * > Exactly one of the above arguments must be provided. Passing both `filter` and `group_id` is allowed for backwards compatibility.
     * 
     */
    @Import(name="groupId")
    private @Nullable String groupId;

    /**
     * @return The identifier for a group in the Identity Store.
     * 
     * > Exactly one of the above arguments must be provided. Passing both `filter` and `group_id` is allowed for backwards compatibility.
     * 
     */
    public Optional groupId() {
        return Optional.ofNullable(this.groupId);
    }

    /**
     * Identity Store ID associated with the Single Sign-On Instance.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="identityStoreId", required=true)
    private String identityStoreId;

    /**
     * @return Identity Store ID associated with the Single Sign-On Instance.
     * 
     * The following arguments are optional:
     * 
     */
    public String identityStoreId() {
        return this.identityStoreId;
    }

    private GetGroupPlainArgs() {}

    private GetGroupPlainArgs(GetGroupPlainArgs $) {
        this.alternateIdentifier = $.alternateIdentifier;
        this.filter = $.filter;
        this.groupId = $.groupId;
        this.identityStoreId = $.identityStoreId;
    }

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

    public static final class Builder {
        private GetGroupPlainArgs $;

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

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

        /**
         * @param alternateIdentifier A unique identifier for the group that is not the primary identifier. Conflicts with `group_id` and `filter`. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder alternateIdentifier(@Nullable GetGroupAlternateIdentifier alternateIdentifier) {
            $.alternateIdentifier = alternateIdentifier;
            return this;
        }

        /**
         * @param filter Configuration block for filtering by a unique attribute of the group. Detailed below.
         * 
         * @return builder
         * 
         * @deprecated
         * Use the alternate_identifier attribute instead.
         * 
         */
        @Deprecated /* Use the alternate_identifier attribute instead. */
        public Builder filter(@Nullable GetGroupFilter filter) {
            $.filter = filter;
            return this;
        }

        /**
         * @param groupId The identifier for a group in the Identity Store.
         * 
         * > Exactly one of the above arguments must be provided. Passing both `filter` and `group_id` is allowed for backwards compatibility.
         * 
         * @return builder
         * 
         */
        public Builder groupId(@Nullable String groupId) {
            $.groupId = groupId;
            return this;
        }

        /**
         * @param identityStoreId Identity Store ID associated with the Single Sign-On Instance.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder identityStoreId(String identityStoreId) {
            $.identityStoreId = identityStoreId;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy