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:
  • Constructor Details

    • GetCredentialsForIdentityResult

      public GetCredentialsForIdentityResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object