Interface CreateIdentityProviderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateIdentityProviderRequest.Builder,
,CreateIdentityProviderRequest> SdkBuilder<CreateIdentityProviderRequest.Builder,
,CreateIdentityProviderRequest> SdkPojo
,SdkRequest.Builder
,WorkSpacesWebRequest.Builder
- Enclosing class:
CreateIdentityProviderRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.identityProviderDetails
(Map<String, String> identityProviderDetails) The identity provider details.identityProviderName
(String identityProviderName) The identity provider name.identityProviderType
(String identityProviderType) The identity provider type.identityProviderType
(IdentityProviderType identityProviderType) The identity provider type.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the web portal.tags
(Collection<Tag> tags) The tags to add to the identity provider resource.tags
(Consumer<Tag.Builder>... tags) The tags to add to the identity provider resource.The tags to add to the identity provider resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebRequest.Builder
build
-
Method Details
-
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 Amazon Web Services SDK.
- Parameters:
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 Amazon Web Services SDK.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProviderDetails
CreateIdentityProviderRequest.Builder identityProviderDetails(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 byoidc_issuer
key -
token_url
if not available from discovery URL specified byoidc_issuer
key -
attributes_url
if not available from discovery URL specified byoidc_issuer
key -
jwks_uri
if not available from discovery URL specified byoidc_issuer
key
-
-
For SAML providers:
-
MetadataFile
ORMetadataURL
-
IDPSignout
(boolean) optional -
IDPInit
(boolean) optional -
RequestSigningAlgorithm
(string) optional - Only acceptsrsa-sha256
-
EncryptedResponses
(boolean) optional
-
- Parameters:
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 byoidc_issuer
key -
token_url
if not available from discovery URL specified byoidc_issuer
key -
attributes_url
if not available from discovery URL specified byoidc_issuer
key -
jwks_uri
if not available from discovery URL specified byoidc_issuer
key
-
-
For SAML providers:
-
MetadataFile
ORMetadataURL
-
IDPSignout
(boolean) optional -
IDPInit
(boolean) optional -
RequestSigningAlgorithm
(string) optional - Only acceptsrsa-sha256
-
EncryptedResponses
(boolean) optional
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
identityProviderName
The identity provider name.
- Parameters:
identityProviderName
- The identity provider name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProviderType
The identity provider type.
- Parameters:
identityProviderType
- The identity provider type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityProviderType
CreateIdentityProviderRequest.Builder identityProviderType(IdentityProviderType identityProviderType) The identity provider type.
- Parameters:
identityProviderType
- The identity provider type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
portalArn
The ARN of the web portal.
- Parameters:
portalArn
- The ARN of the web portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the identity provider resource. A tag is a key-value pair.
- Parameters:
tags
- The tags to add to the identity provider resource. A tag is a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the identity provider resource. A tag is a key-value pair.
- Parameters:
tags
- The tags to add to the identity provider resource. A tag is a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the identity provider resource. A tag is a key-value pair.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateIdentityProviderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateIdentityProviderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-