@Generated(value="software.amazon.awssdk:codegen") public final class CreateIdentityProviderRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<CreateIdentityProviderRequest.Builder,CreateIdentityProviderRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateIdentityProviderRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
attributeMapping()
A mapping of IdP attributes to standard and custom user pool attributes.
|
static CreateIdentityProviderRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttributeMapping()
For responses, this returns true if the service returned a value for the AttributeMapping property.
|
int |
hashCode() |
boolean |
hasIdpIdentifiers()
For responses, this returns true if the service returned a value for the IdpIdentifiers property.
|
boolean |
hasProviderDetails()
For responses, this returns true if the service returned a value for the ProviderDetails property.
|
List<String> |
idpIdentifiers()
A list of IdP identifiers.
|
Map<String,String> |
providerDetails()
The IdP details.
|
String |
providerName()
The IdP name.
|
IdentityProviderTypeType |
providerType()
The IdP type.
|
String |
providerTypeAsString()
The IdP type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateIdentityProviderRequest.Builder> |
serializableBuilderClass() |
CreateIdentityProviderRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userPoolId()
The user pool ID.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userPoolId()
The user pool ID.
public final String providerName()
The IdP name.
public final IdentityProviderTypeType providerType()
The IdP type.
If the service returns an enum value that is not available in the current SDK version, providerType will
return IdentityProviderTypeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from providerTypeAsString().
IdentityProviderTypeTypepublic final String providerTypeAsString()
The IdP type.
If the service returns an enum value that is not available in the current SDK version, providerType will
return IdentityProviderTypeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from providerTypeAsString().
IdentityProviderTypeTypepublic final boolean hasProviderDetails()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasProviderDetails() method.
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 final boolean hasAttributeMapping()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> attributeMapping()
A mapping of IdP attributes to standard and custom user pool attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAttributeMapping() method.
public final boolean hasIdpIdentifiers()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> idpIdentifiers()
A list of IdP identifiers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIdpIdentifiers() method.
public CreateIdentityProviderRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateIdentityProviderRequest.Builder,CreateIdentityProviderRequest>toBuilder in class CognitoIdentityProviderRequestpublic static CreateIdentityProviderRequest.Builder builder()
public static Class<? extends CreateIdentityProviderRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.