Class GetIdRequest

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

public class GetIdRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input to the GetId action.
See Also:
  • Constructor Details

    • GetIdRequest

      public GetIdRequest()
  • Method Details

    • setAccountId

      public void setAccountId(String accountId)
      A standard AWS account ID (9+ digits).
      Parameters:
      accountId - A standard AWS account ID (9+ digits).
    • getAccountId

      public String getAccountId()
      A standard AWS account ID (9+ digits).
      Returns:
      A standard AWS account ID (9+ digits).
    • withAccountId

      public GetIdRequest withAccountId(String accountId)
      A standard AWS account ID (9+ digits).
      Parameters:
      accountId - A standard AWS account ID (9+ digits).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 GetIdRequest 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.
    • getLogins

      public Map<String,String> getLogins()

      A set of optional name-value pairs that map provider names to provider tokens.

      The available provider names for Logins are as follows:

      • Facebook: graph.facebook.com
      • Amazon Cognito Identity Provider: cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
      • Google: accounts.google.com
      • Amazon: www.amazon.com
      • Twitter: api.twitter.com
      • Digits: www.digits.com

      Returns:
      A set of optional name-value pairs that map provider names to provider tokens.

      The available provider names for Logins are as follows:

      • Facebook: graph.facebook.com
      • Amazon Cognito Identity Provider: cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
      • Google: accounts.google.com
      • Amazon: www.amazon.com
      • Twitter: api.twitter.com
      • Digits: www.digits.com
    • setLogins

      public void setLogins(Map<String,String> logins)

      A set of optional name-value pairs that map provider names to provider tokens.

      The available provider names for Logins are as follows:

      • Facebook: graph.facebook.com
      • Amazon Cognito Identity Provider: cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
      • Google: accounts.google.com
      • Amazon: www.amazon.com
      • Twitter: api.twitter.com
      • Digits: www.digits.com

      Parameters:
      logins - A set of optional name-value pairs that map provider names to provider tokens.

      The available provider names for Logins are as follows:

      • Facebook: graph.facebook.com
      • Amazon Cognito Identity Provider: cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
      • Google: accounts.google.com
      • Amazon: www.amazon.com
      • Twitter: api.twitter.com
      • Digits: www.digits.com
    • withLogins

      public GetIdRequest withLogins(Map<String,String> logins)

      A set of optional name-value pairs that map provider names to provider tokens.

      The available provider names for Logins are as follows:

      • Facebook: graph.facebook.com
      • Amazon Cognito Identity Provider: cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
      • Google: accounts.google.com
      • Amazon: www.amazon.com
      • Twitter: api.twitter.com
      • Digits: www.digits.com

      Parameters:
      logins - A set of optional name-value pairs that map provider names to provider tokens.

      The available provider names for Logins are as follows:

      • Facebook: graph.facebook.com
      • Amazon Cognito Identity Provider: cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
      • Google: accounts.google.com
      • Amazon: www.amazon.com
      • Twitter: api.twitter.com
      • Digits: www.digits.com
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addLoginsEntry

      public GetIdRequest addLoginsEntry(String key, String value)
    • clearLoginsEntries

      public GetIdRequest clearLoginsEntries()
      Removes all the entries added into Logins. <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

      public GetIdRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: