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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetIdRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetIdRequestaddLoginsEntry(String key, String value)GetIdRequestclearLoginsEntries()Removes all the entries added into Logins.GetIdRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAccountId()A standard AWS account ID (9+ digits).StringgetIdentityPoolId()An identity pool ID in the format REGION:GUID.Map<String,String>getLogins()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.voidsetLogins(Map<String,String> logins)A set of optional name-value pairs that map provider names to provider tokens.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetIdRequestwithAccountId(String accountId)A standard AWS account ID (9+ digits).GetIdRequestwithIdentityPoolId(String identityPoolId)An identity pool ID in the format REGION:GUID.GetIdRequestwithLogins(Map<String,String> logins)A set of optional name-value pairs that map provider names to provider tokens.-
Methods inherited from class com.amazonaws.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
-
-
-
-
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
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
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
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
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
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
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetIdRequest 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:
Object.clone()
-
-