@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IdentityDescription extends Object implements Serializable, Cloneable, StructuredPojo
A description of the identity.
Constructor and Description |
---|
IdentityDescription() |
Modifier and Type | Method and Description |
---|---|
IdentityDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
Date on which the identity was created.
|
String |
getIdentityId()
A unique identifier in the format REGION:GUID.
|
Date |
getLastModifiedDate()
Date on which the identity was last modified.
|
List<String> |
getLogins()
A set of optional name-value pairs that map provider names to provider tokens.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
Date on which the identity was created.
|
void |
setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
void |
setLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
|
void |
setLogins(Collection<String> logins)
A set of optional name-value pairs that map provider names to provider tokens.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IdentityDescription |
withCreationDate(Date creationDate)
Date on which the identity was created.
|
IdentityDescription |
withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
IdentityDescription |
withLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
|
IdentityDescription |
withLogins(Collection<String> logins)
A set of optional name-value pairs that map provider names to provider tokens.
|
IdentityDescription |
withLogins(String... logins)
A set of optional name-value pairs that map provider names to provider tokens.
|
public void setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
identityId
- A unique identifier in the format REGION:GUID.public String getIdentityId()
A unique identifier in the format REGION:GUID.
public IdentityDescription withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
identityId
- A unique identifier in the format REGION:GUID.public List<String> getLogins()
A set of optional name-value pairs that map provider names to provider tokens.
public void setLogins(Collection<String> logins)
A set of optional name-value pairs that map provider names to provider tokens.
logins
- A set of optional name-value pairs that map provider names to provider tokens.public IdentityDescription withLogins(String... logins)
A set of optional name-value pairs that map provider names to provider tokens.
NOTE: This method appends the values to the existing list (if any). Use
setLogins(java.util.Collection)
or withLogins(java.util.Collection)
if you want to override the
existing values.
logins
- A set of optional name-value pairs that map provider names to provider tokens.public IdentityDescription withLogins(Collection<String> logins)
A set of optional name-value pairs that map provider names to provider tokens.
logins
- A set of optional name-value pairs that map provider names to provider tokens.public void setCreationDate(Date creationDate)
Date on which the identity was created.
creationDate
- Date on which the identity was created.public Date getCreationDate()
Date on which the identity was created.
public IdentityDescription withCreationDate(Date creationDate)
Date on which the identity was created.
creationDate
- Date on which the identity was created.public void setLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
lastModifiedDate
- Date on which the identity was last modified.public Date getLastModifiedDate()
Date on which the identity was last modified.
public IdentityDescription withLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
lastModifiedDate
- Date on which the identity was last modified.public String toString()
toString
in class Object
Object.toString()
public IdentityDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.