@Generated(value="software.amazon.awssdk:codegen") public final class CreateIdentityProviderRequest extends WorkSpacesWebRequest implements ToCopyableBuilder<CreateIdentityProviderRequest.Builder,CreateIdentityProviderRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateIdentityProviderRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateIdentityProviderRequest.Builder |
builder() |
String |
clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasIdentityProviderDetails()
For responses, this returns true if the service returned a value for the IdentityProviderDetails property.
|
Map<String,String> |
identityProviderDetails()
The identity provider details.
|
String |
identityProviderName()
The identity provider name.
|
IdentityProviderType |
identityProviderType()
The identity provider type.
|
String |
identityProviderTypeAsString()
The identity provider type.
|
String |
portalArn()
The ARN of the web portal.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateIdentityProviderRequest.Builder> |
serializableBuilderClass() |
CreateIdentityProviderRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
If you do not specify a client token, one is automatically generated by the AWS SDK.
public final boolean hasIdentityProviderDetails()
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> identityProviderDetails()
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
For SAML providers:
MetadataFile OR MetadataURL
IDPSignout (boolean) 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 hasIdentityProviderDetails() 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 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
For SAML providers:
MetadataFile OR MetadataURL
IDPSignout (boolean) optional
public final String identityProviderName()
The identity provider name.
public final IdentityProviderType identityProviderType()
The identity provider type.
If the service returns an enum value that is not available in the current SDK version,
identityProviderType will return IdentityProviderType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from identityProviderTypeAsString().
IdentityProviderTypepublic final String identityProviderTypeAsString()
The identity provider type.
If the service returns an enum value that is not available in the current SDK version,
identityProviderType will return IdentityProviderType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from identityProviderTypeAsString().
IdentityProviderTypepublic final String portalArn()
The ARN of the web portal.
public CreateIdentityProviderRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateIdentityProviderRequest.Builder,CreateIdentityProviderRequest>toBuilder in class WorkSpacesWebRequestpublic 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.