Interface CreateCredentialProviderPoolRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCredentialProviderPoolRequest.Builder,,CreateCredentialProviderPoolRequest> CredentialBrokerControlRequest.Builder,SdkBuilder<CreateCredentialProviderPoolRequest.Builder,,CreateCredentialProviderPoolRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCredentialProviderPoolRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) SDK auto-populates; enables safe retries.encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) How cached tokens are encrypted at rest for the providers in this pool.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) How cached tokens are encrypted at rest for the providers in this pool.identityCenterConfiguration(Consumer<IdentityCenterConfiguration.Builder> identityCenterConfiguration) Links a credential provider pool to an IAM Identity Center instance, so that providers in the pool can issue credentials for the identity in the caller's Identity Center session.identityCenterConfiguration(IdentityCenterConfiguration identityCenterConfiguration) Links a credential provider pool to an IAM Identity Center instance, so that providers in the pool can issue credentials for the identity in the caller's Identity Center session.The name for the credential provider pool.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tags attached to a resource, as key-value pairs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.credentialbrokercontrol.model.CredentialBrokerControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name for the credential provider pool. Must be unique among the pools that currently exist in your account. You can change it later with UpdateCredentialProviderPool.
- Parameters:
name- The name for the credential provider pool. Must be unique among the pools that currently exist in your account. You can change it later with UpdateCredentialProviderPool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
SDK auto-populates; enables safe retries.
- Parameters:
clientToken- SDK auto-populates; enables safe retries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
CreateCredentialProviderPoolRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) How cached tokens are encrypted at rest for the providers in this pool. Omit to encrypt with a service-owned key. Each provider in the pool uses this configuration unless it overrides it with a customer managed key of its own.
- Parameters:
encryptionConfiguration- How cached tokens are encrypted at rest for the providers in this pool. Omit to encrypt with a service-owned key. Each provider in the pool uses this configuration unless it overrides it with a customer managed key of its own.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateCredentialProviderPoolRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) How cached tokens are encrypted at rest for the providers in this pool. Omit to encrypt with a service-owned key. Each provider in the pool uses this configuration unless it overrides it with a customer managed key of its own.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityCenterConfiguration
CreateCredentialProviderPoolRequest.Builder identityCenterConfiguration(IdentityCenterConfiguration identityCenterConfiguration) Links a credential provider pool to an IAM Identity Center instance, so that providers in the pool can issue credentials for the identity in the caller's Identity Center session. A pool can be associated with at most one instance. Associating an instance creates an Identity Center application that the pool owns; every provider in the pool reports that same application.
- Parameters:
identityCenterConfiguration- Links a credential provider pool to an IAM Identity Center instance, so that providers in the pool can issue credentials for the identity in the caller's Identity Center session. A pool can be associated with at most one instance. Associating an instance creates an Identity Center application that the pool owns; every provider in the pool reports that same application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityCenterConfiguration
default CreateCredentialProviderPoolRequest.Builder identityCenterConfiguration(Consumer<IdentityCenterConfiguration.Builder> identityCenterConfiguration) Links a credential provider pool to an IAM Identity Center instance, so that providers in the pool can issue credentials for the identity in the caller's Identity Center session. A pool can be associated with at most one instance. Associating an instance creates an Identity Center application that the pool owns; every provider in the pool reports that same application.
This is a convenience method that creates an instance of theIdentityCenterConfiguration.Builderavoiding the need to create one manually viaIdentityCenterConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityCenterConfiguration(IdentityCenterConfiguration).- Parameters:
identityCenterConfiguration- a consumer that will call methods onIdentityCenterConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags attached to a resource, as key-value pairs. Keys are unique within a resource and are case-sensitive. Use tags to categorize resources and to control access with tag-based IAM policies.
- Parameters:
tags- Tags attached to a resource, as key-value pairs. Keys are unique within a resource and are case-sensitive. Use tags to categorize resources and to control access with tag-based IAM policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCredentialProviderPoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCredentialProviderPoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-