@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCredentialsForIdentityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input to the GetCredentialsForIdentity
action.
NOOP
Constructor and Description |
---|
GetCredentialsForIdentityRequest() |
Modifier and Type | Method and Description |
---|---|
GetCredentialsForIdentityRequest |
addLoginsEntry(String key,
String value)
Add a single Logins entry
|
GetCredentialsForIdentityRequest |
clearLoginsEntries()
Removes all the entries added into Logins.
|
GetCredentialsForIdentityRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCustomRoleArn()
The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the
identity provider.
|
String |
getIdentityId()
A unique identifier 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 |
setCustomRoleArn(String customRoleArn)
The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the
identity provider.
|
void |
setIdentityId(String identityId)
A unique identifier 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.
|
GetCredentialsForIdentityRequest |
withCustomRoleArn(String customRoleArn)
The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the
identity provider.
|
GetCredentialsForIdentityRequest |
withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
GetCredentialsForIdentityRequest |
withLogins(Map<String,String> logins)
A set of optional name-value pairs that map provider names to provider tokens.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
identityId
- A unique identifier in the format REGION:GUID.public String getIdentityId()
A unique identifier in the format REGION:GUID.
public GetCredentialsForIdentityRequest withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
identityId
- A unique identifier in the format REGION:GUID.public Map<String,String> getLogins()
A set of optional name-value pairs that map provider names to provider tokens. The name-value pair will follow the syntax "provider_name": "provider_user_identifier".
Logins should not be specified when trying to get credentials for an unauthenticated identity.
The Logins parameter is required when using identities associated with external identity providers such as
Facebook. For examples of Logins
maps, see the code examples in the External
Identity Providers section of the Amazon Cognito Developer Guide.
Logins should not be specified when trying to get credentials for an unauthenticated identity.
The Logins parameter is required when using identities associated with external identity providers such
as Facebook. For examples of Logins
maps, see the code examples in the External Identity Providers section of the Amazon Cognito Developer Guide.
public void setLogins(Map<String,String> logins)
A set of optional name-value pairs that map provider names to provider tokens. The name-value pair will follow the syntax "provider_name": "provider_user_identifier".
Logins should not be specified when trying to get credentials for an unauthenticated identity.
The Logins parameter is required when using identities associated with external identity providers such as
Facebook. For examples of Logins
maps, see the code examples in the External
Identity Providers section of the Amazon Cognito Developer Guide.
logins
- A set of optional name-value pairs that map provider names to provider tokens. The name-value pair will
follow the syntax "provider_name": "provider_user_identifier".
Logins should not be specified when trying to get credentials for an unauthenticated identity.
The Logins parameter is required when using identities associated with external identity providers such as
Facebook. For examples of Logins
maps, see the code examples in the External
Identity Providers section of the Amazon Cognito Developer Guide.
public GetCredentialsForIdentityRequest withLogins(Map<String,String> logins)
A set of optional name-value pairs that map provider names to provider tokens. The name-value pair will follow the syntax "provider_name": "provider_user_identifier".
Logins should not be specified when trying to get credentials for an unauthenticated identity.
The Logins parameter is required when using identities associated with external identity providers such as
Facebook. For examples of Logins
maps, see the code examples in the External
Identity Providers section of the Amazon Cognito Developer Guide.
logins
- A set of optional name-value pairs that map provider names to provider tokens. The name-value pair will
follow the syntax "provider_name": "provider_user_identifier".
Logins should not be specified when trying to get credentials for an unauthenticated identity.
The Logins parameter is required when using identities associated with external identity providers such as
Facebook. For examples of Logins
maps, see the code examples in the External
Identity Providers section of the Amazon Cognito Developer Guide.
public GetCredentialsForIdentityRequest addLoginsEntry(String key, String value)
public GetCredentialsForIdentityRequest clearLoginsEntries()
public void setCustomRoleArn(String customRoleArn)
The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization.
customRoleArn
- The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token
from the identity provider. For example, a SAML-based identity provider. This parameter is optional for
identity providers that do not support role customization.public String getCustomRoleArn()
The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization.
public GetCredentialsForIdentityRequest withCustomRoleArn(String customRoleArn)
The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization.
customRoleArn
- The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token
from the identity provider. For example, a SAML-based identity provider. This parameter is optional for
identity providers that do not support role customization.public String toString()
toString
in class Object
Object.toString()
public GetCredentialsForIdentityRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()