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 GetIdRequest
addLoginsEntry(String key, String value)
GetIdRequest
clearLoginsEntries()
Removes all the entries added into Logins.GetIdRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getAccountId()
A standard AWS account ID (9+ digits).String
getIdentityPoolId()
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.int
hashCode()
void
setAccountId(String accountId)
A standard AWS account ID (9+ digits).void
setIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.void
setLogins(Map<String,String> logins)
A set of optional name-value pairs that map provider names to provider tokens.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetIdRequest
withAccountId(String accountId)
A standard AWS account ID (9+ digits).GetIdRequest
withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.GetIdRequest
withLogins(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
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
- 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
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
- 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
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
- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-