public class CreateIdentityProviderRequest extends AmazonWebServiceRequest implements Serializable
Creates an identity provider for a user pool.
Constructor and Description |
---|
CreateIdentityProviderRequest() |
Modifier and Type | Method and Description |
---|---|
CreateIdentityProviderRequest |
addAttributeMappingEntry(String key,
String value)
A mapping of identity provider attributes to standard and custom user
pool attributes.
|
CreateIdentityProviderRequest |
addProviderDetailsEntry(String key,
String value)
The identity provider details, such as
MetadataURL and
MetadataFile . |
CreateIdentityProviderRequest |
clearAttributeMappingEntries()
Removes all the entries added into AttributeMapping.
|
CreateIdentityProviderRequest |
clearProviderDetailsEntries()
Removes all the entries added into ProviderDetails.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAttributeMapping()
A mapping of identity provider attributes to standard and custom user
pool attributes.
|
List<String> |
getIdpIdentifiers()
A list of identity provider identifiers.
|
Map<String,String> |
getProviderDetails()
The identity provider details, such as
MetadataURL and
MetadataFile . |
String |
getProviderName()
The identity provider name.
|
String |
getProviderType()
The identity provider type.
|
String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
setAttributeMapping(Map<String,String> attributeMapping)
A mapping of identity provider attributes to standard and custom user
pool attributes.
|
void |
setIdpIdentifiers(Collection<String> idpIdentifiers)
A list of identity provider identifiers.
|
void |
setProviderDetails(Map<String,String> providerDetails)
The identity provider details, such as
MetadataURL and
MetadataFile . |
void |
setProviderName(String providerName)
The identity provider name.
|
void |
setProviderType(IdentityProviderTypeType providerType)
The identity provider type.
|
void |
setProviderType(String providerType)
The identity provider type.
|
void |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateIdentityProviderRequest |
withAttributeMapping(Map<String,String> attributeMapping)
A mapping of identity provider attributes to standard and custom user
pool attributes.
|
CreateIdentityProviderRequest |
withIdpIdentifiers(Collection<String> idpIdentifiers)
A list of identity provider identifiers.
|
CreateIdentityProviderRequest |
withIdpIdentifiers(String... idpIdentifiers)
A list of identity provider identifiers.
|
CreateIdentityProviderRequest |
withProviderDetails(Map<String,String> providerDetails)
The identity provider details, such as
MetadataURL and
MetadataFile . |
CreateIdentityProviderRequest |
withProviderName(String providerName)
The identity provider name.
|
CreateIdentityProviderRequest |
withProviderType(IdentityProviderTypeType providerType)
The identity provider type.
|
CreateIdentityProviderRequest |
withProviderType(String providerType)
The identity provider type.
|
CreateIdentityProviderRequest |
withUserPoolId(String userPoolId)
The user pool ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getUserPoolId()
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID.
public void setUserPoolId(String userPoolId)
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID.
public CreateIdentityProviderRequest withUserPoolId(String userPoolId)
The user pool ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID.
public String getProviderName()
The identity provider name.
Constraints:
Length: 1 - 32
Pattern: [^_][\p{L}\p{M}\p{S}\p{N}\p{P}][^_]+
The identity provider name.
public void setProviderName(String providerName)
The identity provider name.
Constraints:
Length: 1 - 32
Pattern: [^_][\p{L}\p{M}\p{S}\p{N}\p{P}][^_]+
providerName
- The identity provider name.
public CreateIdentityProviderRequest withProviderName(String providerName)
The identity provider name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: [^_][\p{L}\p{M}\p{S}\p{N}\p{P}][^_]+
providerName
- The identity provider name.
public String getProviderType()
The identity provider type.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon,
SignInWithApple, OIDC
The identity provider type.
IdentityProviderTypeType
public void setProviderType(String providerType)
The identity provider type.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon,
SignInWithApple, OIDC
providerType
- The identity provider type.
IdentityProviderTypeType
public CreateIdentityProviderRequest withProviderType(String providerType)
The identity provider type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon,
SignInWithApple, OIDC
providerType
- The identity provider type.
IdentityProviderTypeType
public void setProviderType(IdentityProviderTypeType providerType)
The identity provider type.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon,
SignInWithApple, OIDC
providerType
- The identity provider type.
IdentityProviderTypeType
public CreateIdentityProviderRequest withProviderType(IdentityProviderTypeType providerType)
The identity provider type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon,
SignInWithApple, OIDC
providerType
- The identity provider type.
IdentityProviderTypeType
public Map<String,String> getProviderDetails()
The identity provider details, such as MetadataURL
and
MetadataFile
.
The identity provider details, such as MetadataURL
and MetadataFile
.
public void setProviderDetails(Map<String,String> providerDetails)
The identity provider details, such as MetadataURL
and
MetadataFile
.
providerDetails
-
The identity provider details, such as
MetadataURL
and MetadataFile
.
public CreateIdentityProviderRequest withProviderDetails(Map<String,String> providerDetails)
The identity provider details, such as MetadataURL
and
MetadataFile
.
Returns a reference to this object so that method calls can be chained together.
providerDetails
-
The identity provider details, such as
MetadataURL
and MetadataFile
.
public CreateIdentityProviderRequest addProviderDetailsEntry(String key, String value)
The identity provider details, such as MetadataURL
and
MetadataFile
.
The method adds a new key-value pair into ProviderDetails parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into ProviderDetails.value
- The corresponding value of the entry to be added into
ProviderDetails.public CreateIdentityProviderRequest clearProviderDetailsEntries()
Returns a reference to this object so that method calls can be chained together.
public Map<String,String> getAttributeMapping()
A mapping of identity provider attributes to standard and custom user pool attributes.
A mapping of identity provider attributes to standard and custom user pool attributes.
public void setAttributeMapping(Map<String,String> attributeMapping)
A mapping of identity provider attributes to standard and custom user pool attributes.
attributeMapping
- A mapping of identity provider attributes to standard and custom user pool attributes.
public CreateIdentityProviderRequest withAttributeMapping(Map<String,String> attributeMapping)
A mapping of identity provider attributes to standard and custom user pool attributes.
Returns a reference to this object so that method calls can be chained together.
attributeMapping
- A mapping of identity provider attributes to standard and custom user pool attributes.
public CreateIdentityProviderRequest addAttributeMappingEntry(String key, String value)
A mapping of identity provider attributes to standard and custom user pool attributes.
The method adds a new key-value pair into AttributeMapping parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into AttributeMapping.value
- The corresponding value of the entry to be added into
AttributeMapping.public CreateIdentityProviderRequest clearAttributeMappingEntries()
Returns a reference to this object so that method calls can be chained together.
public List<String> getIdpIdentifiers()
A list of identity provider identifiers.
A list of identity provider identifiers.
public void setIdpIdentifiers(Collection<String> idpIdentifiers)
A list of identity provider identifiers.
idpIdentifiers
- A list of identity provider identifiers.
public CreateIdentityProviderRequest withIdpIdentifiers(String... idpIdentifiers)
A list of identity provider identifiers.
Returns a reference to this object so that method calls can be chained together.
idpIdentifiers
- A list of identity provider identifiers.
public CreateIdentityProviderRequest withIdpIdentifiers(Collection<String> idpIdentifiers)
A list of identity provider identifiers.
Returns a reference to this object so that method calls can be chained together.
idpIdentifiers
- A list of identity provider identifiers.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.