@Generated(value="software.amazon.awssdk:codegen") public final class AlternateIdentifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AlternateIdentifier.Builder,AlternateIdentifier>
A unique identifier for a user or group that is not the primary identifier. This value can be an identifier from an
external identity provider (IdP) that is associated with the user, the group, or a unique attribute. For example, a
unique GroupDisplayName.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AlternateIdentifier.Builder |
static class |
AlternateIdentifier.Type |
| Modifier and Type | Method and Description |
|---|---|
static AlternateIdentifier.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExternalId |
externalId()
The identifier issued to this resource by an external identity provider.
|
static AlternateIdentifier |
fromExternalId(Consumer<ExternalId.Builder> externalId)
Create an instance of this class with
externalId() initialized to the given value. |
static AlternateIdentifier |
fromExternalId(ExternalId externalId)
Create an instance of this class with
externalId() initialized to the given value. |
static AlternateIdentifier |
fromUniqueAttribute(Consumer<UniqueAttribute.Builder> uniqueAttribute)
Create an instance of this class with
uniqueAttribute() initialized to the given value. |
static AlternateIdentifier |
fromUniqueAttribute(UniqueAttribute uniqueAttribute)
Create an instance of this class with
uniqueAttribute() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AlternateIdentifier.Builder> |
serializableBuilderClass() |
AlternateIdentifier.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AlternateIdentifier.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
UniqueAttribute |
uniqueAttribute()
An entity attribute that's unique to a specific entity.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ExternalId externalId()
The identifier issued to this resource by an external identity provider.
public final UniqueAttribute uniqueAttribute()
An entity attribute that's unique to a specific entity.
public AlternateIdentifier.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AlternateIdentifier.Builder,AlternateIdentifier>public static AlternateIdentifier.Builder builder()
public static Class<? extends AlternateIdentifier.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static AlternateIdentifier fromExternalId(ExternalId externalId)
externalId() initialized to the given value.
The identifier issued to this resource by an external identity provider.
externalId - The identifier issued to this resource by an external identity provider.public static AlternateIdentifier fromExternalId(Consumer<ExternalId.Builder> externalId)
externalId() initialized to the given value.
The identifier issued to this resource by an external identity provider.
externalId - The identifier issued to this resource by an external identity provider.public static AlternateIdentifier fromUniqueAttribute(UniqueAttribute uniqueAttribute)
uniqueAttribute() initialized to the given value.
An entity attribute that's unique to a specific entity.
uniqueAttribute - An entity attribute that's unique to a specific entity.public static AlternateIdentifier fromUniqueAttribute(Consumer<UniqueAttribute.Builder> uniqueAttribute)
uniqueAttribute() initialized to the given value.
An entity attribute that's unique to a specific entity.
uniqueAttribute - An entity attribute that's unique to a specific entity.public AlternateIdentifier.Type type()
AlternateIdentifier.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be AlternateIdentifier.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2022. All rights reserved.