@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIdentityProviderRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateIdentityProviderRequest() |
Modifier and Type | Method and Description |
---|---|
CreateIdentityProviderRequest |
addAttributeMappingEntry(String key,
String value)
Add a single AttributeMapping entry
|
CreateIdentityProviderRequest |
addProviderDetailsEntry(String key,
String value)
Add a single ProviderDetails entry
|
CreateIdentityProviderRequest |
clearAttributeMappingEntries()
Removes all the entries added into AttributeMapping.
|
CreateIdentityProviderRequest |
clearProviderDetailsEntries()
Removes all the entries added into ProviderDetails.
|
CreateIdentityProviderRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAttributeMapping()
A mapping of IdP attributes to standard and custom user pool attributes.
|
List<String> |
getIdpIdentifiers()
A list of IdP identifiers.
|
Map<String,String> |
getProviderDetails()
The IdP details.
|
String |
getProviderName()
The IdP name.
|
String |
getProviderType()
The IdP type.
|
String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
setAttributeMapping(Map<String,String> attributeMapping)
A mapping of IdP attributes to standard and custom user pool attributes.
|
void |
setIdpIdentifiers(Collection<String> idpIdentifiers)
A list of IdP identifiers.
|
void |
setProviderDetails(Map<String,String> providerDetails)
The IdP details.
|
void |
setProviderName(String providerName)
The IdP name.
|
void |
setProviderType(IdentityProviderTypeType providerType)
The IdP type.
|
void |
setProviderType(String providerType)
The IdP type.
|
void |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object.
|
CreateIdentityProviderRequest |
withAttributeMapping(Map<String,String> attributeMapping)
A mapping of IdP attributes to standard and custom user pool attributes.
|
CreateIdentityProviderRequest |
withIdpIdentifiers(Collection<String> idpIdentifiers)
A list of IdP identifiers.
|
CreateIdentityProviderRequest |
withIdpIdentifiers(String... idpIdentifiers)
A list of IdP identifiers.
|
CreateIdentityProviderRequest |
withProviderDetails(Map<String,String> providerDetails)
The IdP details.
|
CreateIdentityProviderRequest |
withProviderName(String providerName)
The IdP name.
|
CreateIdentityProviderRequest |
withProviderType(IdentityProviderTypeType providerType)
The IdP type.
|
CreateIdentityProviderRequest |
withProviderType(String providerType)
The IdP type.
|
CreateIdentityProviderRequest |
withUserPoolId(String userPoolId)
The user pool ID.
|
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 setUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.public String getUserPoolId()
The user pool ID.
public CreateIdentityProviderRequest withUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.public void setProviderName(String providerName)
The IdP name.
providerName
- The IdP name.public String getProviderName()
The IdP name.
public CreateIdentityProviderRequest withProviderName(String providerName)
The IdP name.
providerName
- The IdP name.public void setProviderType(String providerType)
The IdP type.
providerType
- The IdP type.IdentityProviderTypeType
public String getProviderType()
The IdP type.
IdentityProviderTypeType
public CreateIdentityProviderRequest withProviderType(String providerType)
The IdP type.
providerType
- The IdP type.IdentityProviderTypeType
public void setProviderType(IdentityProviderTypeType providerType)
The IdP type.
providerType
- The IdP type.IdentityProviderTypeType
public CreateIdentityProviderRequest withProviderType(IdentityProviderTypeType providerType)
The IdP type.
providerType
- The IdP type.IdentityProviderTypeType
public Map<String,String> getProviderDetails()
The IdP details. The following list describes the provider detail keys for each IdP type.
For Google and Login with Amazon:
client_id
client_secret
authorize_scopes
For Facebook:
client_id
client_secret
authorize_scopes
api_version
For Sign in with Apple:
client_id
team_id
key_id
private_key
authorize_scopes
For OpenID Connect (OIDC) providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
The following keys are only present if Amazon Cognito didn't discover them at the oidc_issuer
URL.
authorize_url
token_url
attributes_url
jwks_uri
Amazon Cognito sets the value of the following keys automatically. They are read-only.
attributes_url_add_attributes
For SAML providers:
MetadataFile or MetadataURL
IDPSignout optional
For Google and Login with Amazon:
client_id
client_secret
authorize_scopes
For Facebook:
client_id
client_secret
authorize_scopes
api_version
For Sign in with Apple:
client_id
team_id
key_id
private_key
authorize_scopes
For OpenID Connect (OIDC) providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
The following keys are only present if Amazon Cognito didn't discover them at the
oidc_issuer
URL.
authorize_url
token_url
attributes_url
jwks_uri
Amazon Cognito sets the value of the following keys automatically. They are read-only.
attributes_url_add_attributes
For SAML providers:
MetadataFile or MetadataURL
IDPSignout optional
public void setProviderDetails(Map<String,String> providerDetails)
The IdP details. The following list describes the provider detail keys for each IdP type.
For Google and Login with Amazon:
client_id
client_secret
authorize_scopes
For Facebook:
client_id
client_secret
authorize_scopes
api_version
For Sign in with Apple:
client_id
team_id
key_id
private_key
authorize_scopes
For OpenID Connect (OIDC) providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
The following keys are only present if Amazon Cognito didn't discover them at the oidc_issuer
URL.
authorize_url
token_url
attributes_url
jwks_uri
Amazon Cognito sets the value of the following keys automatically. They are read-only.
attributes_url_add_attributes
For SAML providers:
MetadataFile or MetadataURL
IDPSignout optional
providerDetails
- The IdP details. The following list describes the provider detail keys for each IdP type.
For Google and Login with Amazon:
client_id
client_secret
authorize_scopes
For Facebook:
client_id
client_secret
authorize_scopes
api_version
For Sign in with Apple:
client_id
team_id
key_id
private_key
authorize_scopes
For OpenID Connect (OIDC) providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
The following keys are only present if Amazon Cognito didn't discover them at the oidc_issuer
URL.
authorize_url
token_url
attributes_url
jwks_uri
Amazon Cognito sets the value of the following keys automatically. They are read-only.
attributes_url_add_attributes
For SAML providers:
MetadataFile or MetadataURL
IDPSignout optional
public CreateIdentityProviderRequest withProviderDetails(Map<String,String> providerDetails)
The IdP details. The following list describes the provider detail keys for each IdP type.
For Google and Login with Amazon:
client_id
client_secret
authorize_scopes
For Facebook:
client_id
client_secret
authorize_scopes
api_version
For Sign in with Apple:
client_id
team_id
key_id
private_key
authorize_scopes
For OpenID Connect (OIDC) providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
The following keys are only present if Amazon Cognito didn't discover them at the oidc_issuer
URL.
authorize_url
token_url
attributes_url
jwks_uri
Amazon Cognito sets the value of the following keys automatically. They are read-only.
attributes_url_add_attributes
For SAML providers:
MetadataFile or MetadataURL
IDPSignout optional
providerDetails
- The IdP details. The following list describes the provider detail keys for each IdP type.
For Google and Login with Amazon:
client_id
client_secret
authorize_scopes
For Facebook:
client_id
client_secret
authorize_scopes
api_version
For Sign in with Apple:
client_id
team_id
key_id
private_key
authorize_scopes
For OpenID Connect (OIDC) providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
The following keys are only present if Amazon Cognito didn't discover them at the oidc_issuer
URL.
authorize_url
token_url
attributes_url
jwks_uri
Amazon Cognito sets the value of the following keys automatically. They are read-only.
attributes_url_add_attributes
For SAML providers:
MetadataFile or MetadataURL
IDPSignout optional
public CreateIdentityProviderRequest addProviderDetailsEntry(String key, String value)
public CreateIdentityProviderRequest clearProviderDetailsEntries()
public Map<String,String> getAttributeMapping()
A mapping of IdP attributes to standard and custom user pool attributes.
public void setAttributeMapping(Map<String,String> attributeMapping)
A mapping of IdP attributes to standard and custom user pool attributes.
attributeMapping
- A mapping of IdP attributes to standard and custom user pool attributes.public CreateIdentityProviderRequest withAttributeMapping(Map<String,String> attributeMapping)
A mapping of IdP attributes to standard and custom user pool attributes.
attributeMapping
- A mapping of IdP attributes to standard and custom user pool attributes.public CreateIdentityProviderRequest addAttributeMappingEntry(String key, String value)
public CreateIdentityProviderRequest clearAttributeMappingEntries()
public List<String> getIdpIdentifiers()
A list of IdP identifiers.
public void setIdpIdentifiers(Collection<String> idpIdentifiers)
A list of IdP identifiers.
idpIdentifiers
- A list of IdP identifiers.public CreateIdentityProviderRequest withIdpIdentifiers(String... idpIdentifiers)
A list of IdP identifiers.
NOTE: This method appends the values to the existing list (if any). Use
setIdpIdentifiers(java.util.Collection)
or withIdpIdentifiers(java.util.Collection)
if you want
to override the existing values.
idpIdentifiers
- A list of IdP identifiers.public CreateIdentityProviderRequest withIdpIdentifiers(Collection<String> idpIdentifiers)
A list of IdP identifiers.
idpIdentifiers
- A list of IdP identifiers.public String toString()
toString
in class Object
Object.toString()
public CreateIdentityProviderRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()