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

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

import com.pulumi.aws.identitystore.outputs.GetUserAlternateIdentifierExternalId;
import com.pulumi.aws.identitystore.outputs.GetUserAlternateIdentifierUniqueAttribute;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetUserAlternateIdentifier {
    /**
     * @return Configuration block for filtering by the identifier issued by an external identity provider. Detailed below.
     * 
     */
    private @Nullable GetUserAlternateIdentifierExternalId externalId;
    /**
     * @return An entity attribute that's unique to a specific entity. Detailed below.
     * 
     * > Exactly one of the above arguments must be provided.
     * 
     */
    private @Nullable GetUserAlternateIdentifierUniqueAttribute uniqueAttribute;

    private GetUserAlternateIdentifier() {}
    /**
     * @return Configuration block for filtering by the identifier issued by an external identity provider. Detailed below.
     * 
     */
    public Optional externalId() {
        return Optional.ofNullable(this.externalId);
    }
    /**
     * @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);
    }

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

    public static Builder builder(GetUserAlternateIdentifier defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable GetUserAlternateIdentifierExternalId externalId;
        private @Nullable GetUserAlternateIdentifierUniqueAttribute uniqueAttribute;
        public Builder() {}
        public Builder(GetUserAlternateIdentifier defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.externalId = defaults.externalId;
    	      this.uniqueAttribute = defaults.uniqueAttribute;
        }

        @CustomType.Setter
        public Builder externalId(@Nullable GetUserAlternateIdentifierExternalId externalId) {

            this.externalId = externalId;
            return this;
        }
        @CustomType.Setter
        public Builder uniqueAttribute(@Nullable GetUserAlternateIdentifierUniqueAttribute uniqueAttribute) {

            this.uniqueAttribute = uniqueAttribute;
            return this;
        }
        public GetUserAlternateIdentifier build() {
            final var _resultValue = new GetUserAlternateIdentifier();
            _resultValue.externalId = externalId;
            _resultValue.uniqueAttribute = uniqueAttribute;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy