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

com.pulumi.aws.identitystore.inputs.GetUserAlternateIdentifierArgs 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.GetUserAlternateIdentifierExternalIdArgs;
import com.pulumi.aws.identitystore.inputs.GetUserAlternateIdentifierUniqueAttributeArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetUserAlternateIdentifierArgs extends com.pulumi.resources.ResourceArgs {

    public static final GetUserAlternateIdentifierArgs Empty = new GetUserAlternateIdentifierArgs();

    /**
     * Configuration block for filtering by the identifier issued by an external identity provider. Detailed below.
     * 
     */
    @Import(name="externalId")
    private @Nullable Output externalId;

    /**
     * @return Configuration block for filtering by the identifier issued by an external identity provider. Detailed below.
     * 
     */
    public Optional> externalId() {
        return Optional.ofNullable(this.externalId);
    }

    /**
     * An entity attribute that's unique to a specific entity. Detailed below.
     * 
     * > Exactly one of the above arguments must be provided.
     * 
     */
    @Import(name="uniqueAttribute")
    private @Nullable Output uniqueAttribute;

    /**
     * @return An entity attribute that's unique to a specific entity. Detailed below.
     * 
     * > Exactly one of the above arguments must be provided.
     * 
     */
    public Optional> uniqueAttribute() {
        return Optional.ofNullable(this.uniqueAttribute);
    }

    private GetUserAlternateIdentifierArgs() {}

    private GetUserAlternateIdentifierArgs(GetUserAlternateIdentifierArgs $) {
        this.externalId = $.externalId;
        this.uniqueAttribute = $.uniqueAttribute;
    }

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

    public static final class Builder {
        private GetUserAlternateIdentifierArgs $;

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

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

        /**
         * @param externalId Configuration block for filtering by the identifier issued by an external identity provider. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder externalId(@Nullable Output externalId) {
            $.externalId = externalId;
            return this;
        }

        /**
         * @param externalId Configuration block for filtering by the identifier issued by an external identity provider. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder externalId(GetUserAlternateIdentifierExternalIdArgs externalId) {
            return externalId(Output.of(externalId));
        }

        /**
         * @param uniqueAttribute An entity attribute that's unique to a specific entity. Detailed below.
         * 
         * > Exactly one of the above arguments must be provided.
         * 
         * @return builder
         * 
         */
        public Builder uniqueAttribute(@Nullable Output uniqueAttribute) {
            $.uniqueAttribute = uniqueAttribute;
            return this;
        }

        /**
         * @param uniqueAttribute An entity attribute that's unique to a specific entity. Detailed below.
         * 
         * > Exactly one of the above arguments must be provided.
         * 
         * @return builder
         * 
         */
        public Builder uniqueAttribute(GetUserAlternateIdentifierUniqueAttributeArgs uniqueAttribute) {
            return uniqueAttribute(Output.of(uniqueAttribute));
        }

        public GetUserAlternateIdentifierArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy