Class GetCredentialsForIdentityResult
- java.lang.Object
-
- com.amazonaws.services.cognitoidentity.model.GetCredentialsForIdentityResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetCredentialsForIdentityResult extends Object implements Serializable, Cloneable
Returned in response to a successful
GetCredentialsForIdentityoperation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetCredentialsForIdentityResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCredentialsForIdentityResultclone()booleanequals(Object obj)CredentialsgetCredentials()Credentials for the provided identity ID.StringgetIdentityId()A unique identifier in the format REGION:GUID.inthashCode()voidsetCredentials(Credentials credentials)Credentials for the provided identity ID.voidsetIdentityId(String identityId)A unique identifier in the format REGION:GUID.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetCredentialsForIdentityResultwithCredentials(Credentials credentials)Credentials for the provided identity ID.GetCredentialsForIdentityResultwithIdentityId(String identityId)A unique identifier in the format REGION:GUID.
-
-
-
Method Detail
-
setIdentityId
public void setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
- Parameters:
identityId- A unique identifier in the format REGION:GUID.
-
getIdentityId
public String getIdentityId()
A unique identifier in the format REGION:GUID.
- Returns:
- A unique identifier in the format REGION:GUID.
-
withIdentityId
public GetCredentialsForIdentityResult withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
- Parameters:
identityId- A unique identifier in the format REGION:GUID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCredentials
public void setCredentials(Credentials credentials)
Credentials for the provided identity ID.
- Parameters:
credentials- Credentials for the provided identity ID.
-
getCredentials
public Credentials getCredentials()
Credentials for the provided identity ID.
- Returns:
- Credentials for the provided identity ID.
-
withCredentials
public GetCredentialsForIdentityResult withCredentials(Credentials credentials)
Credentials for the provided identity ID.
- Parameters:
credentials- Credentials for the provided identity ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetCredentialsForIdentityResult clone()
-
-