@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCredentialsForIdentityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Returned in response to a successful GetCredentialsForIdentity
operation.
Constructor and Description |
---|
GetCredentialsForIdentityResult() |
Modifier and Type | Method and Description |
---|---|
GetCredentialsForIdentityResult |
clone() |
boolean |
equals(Object obj) |
Credentials |
getCredentials()
Credentials for the provided identity ID.
|
String |
getIdentityId()
A unique identifier in the format REGION:GUID.
|
int |
hashCode() |
void |
setCredentials(Credentials credentials)
Credentials for the provided identity ID.
|
void |
setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
String |
toString()
Returns a string representation of this object.
|
GetCredentialsForIdentityResult |
withCredentials(Credentials credentials)
Credentials for the provided identity ID.
|
GetCredentialsForIdentityResult |
withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetCredentialsForIdentityResult withIdentityId(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 String toString()
toString
in class Object
Object.toString()
public GetCredentialsForIdentityResult clone()