Class GetIdRequest

    • Constructor Detail

      • GetIdRequest

        public GetIdRequest()
    • Method Detail

      • 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.
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object