public class GetCredentialsForIdentityResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Returned in response to a successful GetCredentialsForIdentity
operation.
Modifier and Type | Field and Description |
---|---|
private Credentials |
credentials
Credentials for the provided identity ID.
|
private java.lang.String |
identityId
A unique identifier in the format REGION:GUID.
|
Constructor and Description |
---|
GetCredentialsForIdentityResult() |
Modifier and Type | Method and Description |
---|---|
GetCredentialsForIdentityResult |
clone() |
boolean |
equals(java.lang.Object obj) |
Credentials |
getCredentials()
Credentials for the provided identity ID.
|
java.lang.String |
getIdentityId()
A unique identifier in the format REGION:GUID.
|
int |
hashCode() |
void |
setCredentials(Credentials credentials)
Credentials for the provided identity ID.
|
void |
setIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetCredentialsForIdentityResult |
withCredentials(Credentials credentials)
Credentials for the provided identity ID.
|
GetCredentialsForIdentityResult |
withIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
|
private java.lang.String identityId
A unique identifier in the format REGION:GUID.
private Credentials credentials
Credentials for the provided identity ID.
public void setIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
identityId
- A unique identifier in the format REGION:GUID.public java.lang.String getIdentityId()
A unique identifier in the format REGION:GUID.
public GetCredentialsForIdentityResult withIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
identityId
- A unique identifier in the format REGION:GUID.public void setCredentials(Credentials credentials)
Credentials for the provided identity ID.
credentials
- Credentials for the provided identity ID.public Credentials getCredentials()
Credentials for the provided identity ID.
public GetCredentialsForIdentityResult withCredentials(Credentials credentials)
Credentials for the provided identity ID.
credentials
- Credentials for the provided identity ID.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetCredentialsForIdentityResult clone()
clone
in class java.lang.Object