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
GetCredentialsForIdentity
operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetCredentialsForIdentityResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; useful for testing and debugging.GetCredentialsForIdentityResult
withCredentials(Credentials credentials)
Credentials for the provided identity ID.GetCredentialsForIdentityResult
withIdentityId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetCredentialsForIdentityResult clone()
-
-