@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IdentityProviderType extends Object implements Serializable, Cloneable, StructuredPojo
A container for information about an IdP.
Constructor and Description |
---|
IdentityProviderType() |
Modifier and Type | Method and Description |
---|---|
IdentityProviderType |
addAttributeMappingEntry(String key,
String value)
Add a single AttributeMapping entry
|
IdentityProviderType |
addProviderDetailsEntry(String key,
String value)
Add a single ProviderDetails entry
|
IdentityProviderType |
clearAttributeMappingEntries()
Removes all the entries added into AttributeMapping.
|
IdentityProviderType |
clearProviderDetailsEntries()
Removes all the entries added into ProviderDetails.
|
IdentityProviderType |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributeMapping()
A mapping of IdP attributes to standard and custom user pool attributes.
|
Date |
getCreationDate()
The date the IdP was created.
|
List<String> |
getIdpIdentifiers()
A list of IdP identifiers.
|
Date |
getLastModifiedDate()
The date the IdP was last modified.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeMapping(Map<String,String> attributeMapping)
A mapping of IdP attributes to standard and custom user pool attributes.
|
void |
setCreationDate(Date creationDate)
The date the IdP was created.
|
void |
setIdpIdentifiers(Collection<String> idpIdentifiers)
A list of IdP identifiers.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date the IdP was last modified.
|
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.
|
IdentityProviderType |
withAttributeMapping(Map<String,String> attributeMapping)
A mapping of IdP attributes to standard and custom user pool attributes.
|
IdentityProviderType |
withCreationDate(Date creationDate)
The date the IdP was created.
|
IdentityProviderType |
withIdpIdentifiers(Collection<String> idpIdentifiers)
A list of IdP identifiers.
|
IdentityProviderType |
withIdpIdentifiers(String... idpIdentifiers)
A list of IdP identifiers.
|
IdentityProviderType |
withLastModifiedDate(Date lastModifiedDate)
The date the IdP was last modified.
|
IdentityProviderType |
withProviderDetails(Map<String,String> providerDetails)
The IdP details.
|
IdentityProviderType |
withProviderName(String providerName)
The IdP name.
|
IdentityProviderType |
withProviderType(IdentityProviderTypeType providerType)
The IdP type.
|
IdentityProviderType |
withProviderType(String providerType)
The IdP type.
|
IdentityProviderType |
withUserPoolId(String userPoolId)
The user pool ID.
|
public void setUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.public String getUserPoolId()
The user pool ID.
public IdentityProviderType 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 IdentityProviderType 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 IdentityProviderType 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 IdentityProviderType 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
You can submit a private_key when you add or update an IdP. Describe operations don't return the private key.
authorize_scopes
For 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
You can submit a private_key when you add or update an IdP. Describe operations don't return the private key.
authorize_scopes
For 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
You can submit a private_key when you add or update an IdP. Describe operations don't return the private key.
authorize_scopes
For 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
You can submit a private_key when you add or update an IdP. Describe operations don't return the private key.
authorize_scopes
For 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 IdentityProviderType 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
You can submit a private_key when you add or update an IdP. Describe operations don't return the private key.
authorize_scopes
For 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
You can submit a private_key when you add or update an IdP. Describe operations don't return the private key.
authorize_scopes
For 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 IdentityProviderType addProviderDetailsEntry(String key, String value)
public IdentityProviderType 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 IdentityProviderType 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 IdentityProviderType addAttributeMappingEntry(String key, String value)
public IdentityProviderType 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 IdentityProviderType 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 IdentityProviderType withIdpIdentifiers(Collection<String> idpIdentifiers)
A list of IdP identifiers.
idpIdentifiers
- A list of IdP identifiers.public void setLastModifiedDate(Date lastModifiedDate)
The date the IdP was last modified.
lastModifiedDate
- The date the IdP was last modified.public Date getLastModifiedDate()
The date the IdP was last modified.
public IdentityProviderType withLastModifiedDate(Date lastModifiedDate)
The date the IdP was last modified.
lastModifiedDate
- The date the IdP was last modified.public void setCreationDate(Date creationDate)
The date the IdP was created.
creationDate
- The date the IdP was created.public Date getCreationDate()
The date the IdP was created.
public IdentityProviderType withCreationDate(Date creationDate)
The date the IdP was created.
creationDate
- The date the IdP was created.public String toString()
toString
in class Object
Object.toString()
public IdentityProviderType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.