Class GetIdRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cognitoidentity.model.GetIdRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
Input to the GetId action.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLoginsEntry(String key, String value) Removes all the entries added into Logins.clone()Creates a shallow clone of this request.booleanA standard AWS account ID (9+ digits).An identity pool ID in the format REGION:GUID.A set of optional name-value pairs that map provider names to provider tokens.inthashCode()voidsetAccountId(String accountId) A standard AWS account ID (9+ digits).voidsetIdentityPoolId(String identityPoolId) An identity pool ID in the format REGION:GUID.voidA set of optional name-value pairs that map provider names to provider tokens.toString()Returns a string representation of this object; useful for testing and debugging.withAccountId(String accountId) A standard AWS account ID (9+ digits).withIdentityPoolId(String identityPoolId) An identity pool ID in the format REGION:GUID.withLogins(Map<String, String> logins) A set of optional name-value pairs that map provider names to provider tokens.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
GetIdRequest
public GetIdRequest()
-
-
Method Details
-
setAccountId
A standard AWS account ID (9+ digits).- Parameters:
accountId- A standard AWS account ID (9+ digits).
-
getAccountId
A standard AWS account ID (9+ digits).- Returns:
- A standard AWS account ID (9+ digits).
-
withAccountId
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
An identity pool ID in the format REGION:GUID.- Parameters:
identityPoolId- An identity pool ID in the format REGION:GUID.
-
getIdentityPoolId
An identity pool ID in the format REGION:GUID.- Returns:
- An identity pool ID in the format REGION:GUID.
-
withIdentityPoolId
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
A set of optional name-value pairs that map provider names to provider tokens.
The available provider names for
Loginsare 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
Loginsare 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
- Facebook:
- Facebook:
-
setLogins
A set of optional name-value pairs that map provider names to provider tokens.
The available provider names for
Loginsare 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
Loginsare 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
- Facebook:
- Facebook:
-
withLogins
A set of optional name-value pairs that map provider names to provider tokens.
The available provider names for
Loginsare 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
Loginsare 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
- Facebook:
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- Facebook:
-
addLoginsEntry
-
clearLoginsEntries
Removes all the entries added into Logins. <p> Returns a reference to this object so that method calls can be chained together. -
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-