@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlternateIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
AlternateIdentifier() |
Modifier and Type | Method and Description |
---|---|
AlternateIdentifier |
clone() |
boolean |
equals(Object obj) |
ExternalId |
getExternalId()
The identifier issued to this resource by an external identity provider.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExternalId(ExternalId externalId)
The identifier issued to this resource by an external identity provider.
|
String |
toString()
Returns a string representation of this object.
|
AlternateIdentifier |
withExternalId(ExternalId externalId)
The identifier issued to this resource by an external identity provider.
|
public void setExternalId(ExternalId externalId)
The identifier issued to this resource by an external identity provider.
externalId
- The identifier issued to this resource by an external identity provider.public ExternalId getExternalId()
The identifier issued to this resource by an external identity provider.
public AlternateIdentifier withExternalId(ExternalId externalId)
The identifier issued to this resource by an external identity provider.
externalId
- The identifier issued to this resource by an external identity provider.public String toString()
toString
in class Object
Object.toString()
public AlternateIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.