Interface GetCredentialProviderPoolResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCredentialProviderPoolResponse.Builder,,GetCredentialProviderPoolResponse> CredentialBrokerControlResponse.Builder,SdkBuilder<GetCredentialProviderPoolResponse.Builder,,GetCredentialProviderPoolResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCredentialProviderPoolResponse
-
Method Summary
Modifier and TypeMethodDescriptionWhen the pool was created.credentialProviderPoolArn(String credentialProviderPoolArn) Amazon Resource Name of a credential provider pool.credentialProviderPoolId(String credentialProviderPoolId) Service-generated identifier of a credential provider pool.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.identityCenterApplicationArn(String identityCenterApplicationArn) Amazon Resource Name of the IAM Identity Center application created for a 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 of a credential provider pool.Lifecycle status of a resource.Lifecycle status of a resource.statusReason(String statusReason) Present when status = FAILED.When the pool was last modified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.credentialbrokercontrol.model.CredentialBrokerControlResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
credentialProviderPoolArn
GetCredentialProviderPoolResponse.Builder credentialProviderPoolArn(String credentialProviderPoolArn) Amazon Resource Name of a credential provider pool. Service-generated and stable for the life of the pool. Use it in IAM policies and anywhere an operation accepts a pool identifier.
- Parameters:
credentialProviderPoolArn- Amazon Resource Name of a credential provider pool. Service-generated and stable for the life of the pool. Use it in IAM policies and anywhere an operation accepts a pool identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderPoolId
Service-generated identifier of a credential provider pool. Opaque and stable for the life of the pool. Accepted anywhere an operation takes a pool identifier, in place of the pool's ARN.
- Parameters:
credentialProviderPoolId- Service-generated identifier of a credential provider pool. Opaque and stable for the life of the pool. Accepted anywhere an operation takes a pool identifier, in place of the pool's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of a credential provider pool. Must be unique among the pools that currently exist in your account, and can be changed after creation with UpdateCredentialProviderPool. A deleted pool's name becomes available for reuse.
- Parameters:
name- The name of a credential provider pool. Must be unique among the pools that currently exist in your account, and can be changed after creation with UpdateCredentialProviderPool. A deleted pool's name becomes available for reuse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Lifecycle status of a resource. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the resource reaches
READYorFAILEDon its own. Poll with the matchingGetoperation to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.- Parameters:
status- Lifecycle status of a resource. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the resource reachesREADYorFAILEDon its own. Poll with the matchingGetoperation to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Lifecycle status of a resource. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the resource reaches
READYorFAILEDon its own. Poll with the matchingGetoperation to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.- Parameters:
status- Lifecycle status of a resource. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the resource reachesREADYorFAILEDon its own. Poll with the matchingGetoperation to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfiguration
GetCredentialProviderPoolResponse.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 GetCredentialProviderPoolResponse.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
GetCredentialProviderPoolResponse.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 GetCredentialProviderPoolResponse.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:
-
identityCenterApplicationArn
GetCredentialProviderPoolResponse.Builder identityCenterApplicationArn(String identityCenterApplicationArn) Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.
- Parameters:
identityCenterApplicationArn- Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
Present when status = FAILED.
- Parameters:
statusReason- Present when status = FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
When the pool was created.
- Parameters:
createdAt- When the pool was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
When the pool was last modified. Equal to
createdAtuntil the first successful update.- Parameters:
updatedAt- When the pool was last modified. Equal tocreatedAtuntil the first successful update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-