public class UpdateIdentityProviderRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Updates IdP information for a user pool.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
| Constructor and Description |
|---|
UpdateIdentityProviderRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateIdentityProviderRequest |
addAttributeMappingEntry(java.lang.String key,
java.lang.String value)
The IdP attribute mapping to be changed.
|
UpdateIdentityProviderRequest |
addProviderDetailsEntry(java.lang.String key,
java.lang.String value)
The IdP details to be updated, such as
MetadataURL and
MetadataFile. |
UpdateIdentityProviderRequest |
clearAttributeMappingEntries()
Removes all the entries added into AttributeMapping.
|
UpdateIdentityProviderRequest |
clearProviderDetailsEntries()
Removes all the entries added into ProviderDetails.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getAttributeMapping()
The IdP attribute mapping to be changed.
|
java.util.List<java.lang.String> |
getIdpIdentifiers()
A list of IdP identifiers.
|
java.util.Map<java.lang.String,java.lang.String> |
getProviderDetails()
The IdP details to be updated, such as
MetadataURL and
MetadataFile. |
java.lang.String |
getProviderName()
The IdP name.
|
java.lang.String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
setAttributeMapping(java.util.Map<java.lang.String,java.lang.String> attributeMapping)
The IdP attribute mapping to be changed.
|
void |
setIdpIdentifiers(java.util.Collection<java.lang.String> idpIdentifiers)
A list of IdP identifiers.
|
void |
setProviderDetails(java.util.Map<java.lang.String,java.lang.String> providerDetails)
The IdP details to be updated, such as
MetadataURL and
MetadataFile. |
void |
setProviderName(java.lang.String providerName)
The IdP name.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateIdentityProviderRequest |
withAttributeMapping(java.util.Map<java.lang.String,java.lang.String> attributeMapping)
The IdP attribute mapping to be changed.
|
UpdateIdentityProviderRequest |
withIdpIdentifiers(java.util.Collection<java.lang.String> idpIdentifiers)
A list of IdP identifiers.
|
UpdateIdentityProviderRequest |
withIdpIdentifiers(java.lang.String... idpIdentifiers)
A list of IdP identifiers.
|
UpdateIdentityProviderRequest |
withProviderDetails(java.util.Map<java.lang.String,java.lang.String> providerDetails)
The IdP details to be updated, such as
MetadataURL and
MetadataFile. |
UpdateIdentityProviderRequest |
withProviderName(java.lang.String providerName)
The IdP name.
|
UpdateIdentityProviderRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getUserPoolId()
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID.
public UpdateIdentityProviderRequest withUserPoolId(java.lang.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 java.lang.String getProviderName()
The IdP name.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The IdP name.
public void setProviderName(java.lang.String providerName)
The IdP name.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
providerName - The IdP name.
public UpdateIdentityProviderRequest withProviderName(java.lang.String providerName)
The IdP 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 IdP name.
public java.util.Map<java.lang.String,java.lang.String> getProviderDetails()
The IdP details to be updated, such as MetadataURL and
MetadataFile.
The IdP details to be updated, such as MetadataURL
and MetadataFile.
public void setProviderDetails(java.util.Map<java.lang.String,java.lang.String> providerDetails)
The IdP details to be updated, such as MetadataURL and
MetadataFile.
providerDetails -
The IdP details to be updated, such as
MetadataURL and MetadataFile.
public UpdateIdentityProviderRequest withProviderDetails(java.util.Map<java.lang.String,java.lang.String> providerDetails)
The IdP details to be updated, such as MetadataURL and
MetadataFile.
Returns a reference to this object so that method calls can be chained together.
providerDetails -
The IdP details to be updated, such as
MetadataURL and MetadataFile.
public UpdateIdentityProviderRequest addProviderDetailsEntry(java.lang.String key, java.lang.String value)
The IdP details to be updated, 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 UpdateIdentityProviderRequest clearProviderDetailsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.Map<java.lang.String,java.lang.String> getAttributeMapping()
The IdP attribute mapping to be changed.
The IdP attribute mapping to be changed.
public void setAttributeMapping(java.util.Map<java.lang.String,java.lang.String> attributeMapping)
The IdP attribute mapping to be changed.
attributeMapping - The IdP attribute mapping to be changed.
public UpdateIdentityProviderRequest withAttributeMapping(java.util.Map<java.lang.String,java.lang.String> attributeMapping)
The IdP attribute mapping to be changed.
Returns a reference to this object so that method calls can be chained together.
attributeMapping - The IdP attribute mapping to be changed.
public UpdateIdentityProviderRequest addAttributeMappingEntry(java.lang.String key, java.lang.String value)
The IdP attribute mapping to be changed.
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 UpdateIdentityProviderRequest clearAttributeMappingEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.List<java.lang.String> getIdpIdentifiers()
A list of IdP identifiers.
A list of IdP identifiers.
public void setIdpIdentifiers(java.util.Collection<java.lang.String> idpIdentifiers)
A list of IdP identifiers.
idpIdentifiers - A list of IdP identifiers.
public UpdateIdentityProviderRequest withIdpIdentifiers(java.lang.String... idpIdentifiers)
A list of IdP identifiers.
Returns a reference to this object so that method calls can be chained together.
idpIdentifiers - A list of IdP identifiers.
public UpdateIdentityProviderRequest withIdpIdentifiers(java.util.Collection<java.lang.String> idpIdentifiers)
A list of IdP identifiers.
Returns a reference to this object so that method calls can be chained together.
idpIdentifiers - A list of IdP identifiers.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object