@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IdentityProviderType extends Object implements Serializable, Cloneable, StructuredPojo
A container for information about an identity provider.
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 identity provider attributes to standard and custom user pool attributes.
|
Date |
getCreationDate()
The date the identity provider was created.
|
List<String> |
getIdpIdentifiers()
A list of identity provider identifiers.
|
Date |
getLastModifiedDate()
The date the identity provider was last modified.
|
Map<String,String> |
getProviderDetails()
The identity provider details.
|
String |
getProviderName()
The identity provider name.
|
String |
getProviderType()
The identity provider 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 identity provider attributes to standard and custom user pool attributes.
|
void |
setCreationDate(Date creationDate)
The date the identity provider was created.
|
void |
setIdpIdentifiers(Collection<String> idpIdentifiers)
A list of identity provider identifiers.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date the identity provider was last modified.
|
void |
setProviderDetails(Map<String,String> providerDetails)
The identity provider details.
|
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.
|
IdentityProviderType |
withAttributeMapping(Map<String,String> attributeMapping)
A mapping of identity provider attributes to standard and custom user pool attributes.
|
IdentityProviderType |
withCreationDate(Date creationDate)
The date the identity provider was created.
|
IdentityProviderType |
withIdpIdentifiers(Collection<String> idpIdentifiers)
A list of identity provider identifiers.
|
IdentityProviderType |
withIdpIdentifiers(String... idpIdentifiers)
A list of identity provider identifiers.
|
IdentityProviderType |
withLastModifiedDate(Date lastModifiedDate)
The date the identity provider was last modified.
|
IdentityProviderType |
withProviderDetails(Map<String,String> providerDetails)
The identity provider details.
|
IdentityProviderType |
withProviderName(String providerName)
The identity provider name.
|
IdentityProviderType |
withProviderType(IdentityProviderTypeType providerType)
The identity provider type.
|
IdentityProviderType |
withProviderType(String providerType)
The identity provider 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 identity provider name.
providerName
- The identity provider name.public String getProviderName()
The identity provider name.
public IdentityProviderType withProviderName(String providerName)
The identity provider name.
providerName
- The identity provider name.public void setProviderType(String providerType)
The identity provider type.
providerType
- The identity provider type.IdentityProviderTypeType
public String getProviderType()
The identity provider type.
IdentityProviderTypeType
public IdentityProviderType withProviderType(String providerType)
The identity provider type.
providerType
- The identity provider type.IdentityProviderTypeType
public void setProviderType(IdentityProviderTypeType providerType)
The identity provider type.
providerType
- The identity provider type.IdentityProviderTypeType
public IdentityProviderType withProviderType(IdentityProviderTypeType providerType)
The identity provider type.
providerType
- The identity provider type.IdentityProviderTypeType
public Map<String,String> getProviderDetails()
The identity provider details. The following list describes the provider detail keys for each identity provider 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 OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_url if not available from discovery URL specified by oidc_issuer key
token_url if not available from discovery URL specified by oidc_issuer key
attributes_url if not available from discovery URL specified by oidc_issuer key
jwks_uri if not available from discovery URL specified by oidc_issuer key
authorize_scopes
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 OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_url if not available from discovery URL specified by oidc_issuer key
token_url if not available from discovery URL specified by oidc_issuer key
attributes_url if not available from discovery URL specified by oidc_issuer key
jwks_uri if not available from discovery URL specified by oidc_issuer key
authorize_scopes
For SAML providers:
MetadataFile OR MetadataURL
IDPSignOut optional
public void setProviderDetails(Map<String,String> providerDetails)
The identity provider details. The following list describes the provider detail keys for each identity provider 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 OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_url if not available from discovery URL specified by oidc_issuer key
token_url if not available from discovery URL specified by oidc_issuer key
attributes_url if not available from discovery URL specified by oidc_issuer key
jwks_uri if not available from discovery URL specified by oidc_issuer key
authorize_scopes
For SAML providers:
MetadataFile OR MetadataURL
IDPSignOut optional
providerDetails
- The identity provider details. The following list describes the provider detail keys for each identity
provider 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 OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_url if not available from discovery URL specified by oidc_issuer key
token_url if not available from discovery URL specified by oidc_issuer key
attributes_url if not available from discovery URL specified by oidc_issuer key
jwks_uri if not available from discovery URL specified by oidc_issuer key
authorize_scopes
For SAML providers:
MetadataFile OR MetadataURL
IDPSignOut optional
public IdentityProviderType withProviderDetails(Map<String,String> providerDetails)
The identity provider details. The following list describes the provider detail keys for each identity provider 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 OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_url if not available from discovery URL specified by oidc_issuer key
token_url if not available from discovery URL specified by oidc_issuer key
attributes_url if not available from discovery URL specified by oidc_issuer key
jwks_uri if not available from discovery URL specified by oidc_issuer key
authorize_scopes
For SAML providers:
MetadataFile OR MetadataURL
IDPSignOut optional
providerDetails
- The identity provider details. The following list describes the provider detail keys for each identity
provider 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 OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_url if not available from discovery URL specified by oidc_issuer key
token_url if not available from discovery URL specified by oidc_issuer key
attributes_url if not available from discovery URL specified by oidc_issuer key
jwks_uri if not available from discovery URL specified by oidc_issuer key
authorize_scopes
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 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 IdentityProviderType withAttributeMapping(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 IdentityProviderType addAttributeMappingEntry(String key, String value)
public IdentityProviderType clearAttributeMappingEntries()
public List<String> getIdpIdentifiers()
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 IdentityProviderType withIdpIdentifiers(String... idpIdentifiers)
A list of identity provider 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 identity provider identifiers.public IdentityProviderType withIdpIdentifiers(Collection<String> idpIdentifiers)
A list of identity provider identifiers.
idpIdentifiers
- A list of identity provider identifiers.public void setLastModifiedDate(Date lastModifiedDate)
The date the identity provider was last modified.
lastModifiedDate
- The date the identity provider was last modified.public Date getLastModifiedDate()
The date the identity provider was last modified.
public IdentityProviderType withLastModifiedDate(Date lastModifiedDate)
The date the identity provider was last modified.
lastModifiedDate
- The date the identity provider was last modified.public void setCreationDate(Date creationDate)
The date the identity provider was created.
creationDate
- The date the identity provider was created.public Date getCreationDate()
The date the identity provider was created.
public IdentityProviderType withCreationDate(Date creationDate)
The date the identity provider was created.
creationDate
- The date the identity provider 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.