@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 identity provider 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()
Returns true if the AttributeMapping property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasIdpIdentifiers()
Returns true if the IdpIdentifiers property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasProviderDetails()
Returns true if the ProviderDetails property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<String> |
idpIdentifiers()
A list of identity provider identifiers.
|
Map<String,String> |
providerDetails()
The identity provider details.
|
String |
providerName()
The identity provider name.
|
IdentityProviderTypeType |
providerType()
The identity provider type.
|
String |
providerTypeAsString()
The identity provider 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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String userPoolId()
The user pool ID.
public String providerName()
The identity provider name.
public IdentityProviderTypeType providerType()
The identity provider 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()
.
IdentityProviderTypeType
public String providerTypeAsString()
The identity provider 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()
.
IdentityProviderTypeType
public boolean hasProviderDetails()
public Map<String,String> providerDetails()
The identity provider details. The following list describes the provider detail keys for each identity provider type.
For Google, Facebook and Login with Amazon:
client_id
client_secret
authorize_scopes
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
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProviderDetails()
to see if a value was sent in this field.
For Google, Facebook and Login with Amazon:
client_id
client_secret
authorize_scopes
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 boolean hasAttributeMapping()
public Map<String,String> attributeMapping()
A mapping of identity provider attributes to standard and custom user pool attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttributeMapping()
to see if a value was sent in this field.
public boolean hasIdpIdentifiers()
public List<String> idpIdentifiers()
A list of identity provider identifiers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIdpIdentifiers()
to see if a value was sent in this field.
public CreateIdentityProviderRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateIdentityProviderRequest.Builder,CreateIdentityProviderRequest>
toBuilder
in class CognitoIdentityProviderRequest
public static CreateIdentityProviderRequest.Builder builder()
public static Class<? extends CreateIdentityProviderRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.