Class GetIdentityPoolRolesResult

java.lang.Object
com.amazonaws.services.cognitoidentity.model.GetIdentityPoolRolesResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetIdentityPoolRolesResult extends Object implements Serializable, Cloneable

Returned in response to a successful GetIdentityPoolRoles operation.

See Also:
  • Constructor Details

    • GetIdentityPoolRolesResult

      public GetIdentityPoolRolesResult()
  • Method Details

    • setIdentityPoolId

      public void setIdentityPoolId(String identityPoolId)

      An identity pool ID in the format REGION:GUID.

      Parameters:
      identityPoolId - An identity pool ID in the format REGION:GUID.
    • getIdentityPoolId

      public String getIdentityPoolId()

      An identity pool ID in the format REGION:GUID.

      Returns:
      An identity pool ID in the format REGION:GUID.
    • withIdentityPoolId

      public GetIdentityPoolRolesResult withIdentityPoolId(String identityPoolId)

      An identity pool ID in the format REGION:GUID.

      Parameters:
      identityPoolId - An identity pool ID in the format REGION:GUID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getRoles

      public Map<String,String> getRoles()

      The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.

      Returns:
      The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
    • setRoles

      public void setRoles(Map<String,String> roles)

      The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.

      Parameters:
      roles - The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
    • withRoles

      public GetIdentityPoolRolesResult withRoles(Map<String,String> roles)

      The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.

      Parameters:
      roles - The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addRolesEntry

      public GetIdentityPoolRolesResult addRolesEntry(String key, String value)
    • clearRolesEntries

      public GetIdentityPoolRolesResult clearRolesEntries()
      Removes all the entries added into Roles. <p> 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