Interface RotatePaymentConnectorCredentialsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<RotatePaymentConnectorCredentialsRequest.Builder,,RotatePaymentConnectorCredentialsRequest> SdkBuilder<RotatePaymentConnectorCredentialsRequest.Builder,,RotatePaymentConnectorCredentialsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RotatePaymentConnectorCredentialsRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.credentialsToRotate(Consumer<CredentialRotationConfig.Builder> credentialsToRotate) The credentials to rotate.credentialsToRotate(CredentialRotationConfig credentialsToRotate) The credentials to rotate.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.paymentConnectorId(String paymentConnectorId) The unique identifier of the payment connector whose credentials you want to rotate.paymentManagerId(String paymentManagerId) The unique identifier of the parent payment manager.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
paymentManagerId
The unique identifier of the parent payment manager.
- Parameters:
paymentManagerId- The unique identifier of the parent payment manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentConnectorId
The unique identifier of the payment connector whose credentials you want to rotate.
- Parameters:
paymentConnectorId- The unique identifier of the payment connector whose credentials you want to rotate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialsToRotate
RotatePaymentConnectorCredentialsRequest.Builder credentialsToRotate(CredentialRotationConfig credentialsToRotate) The credentials to rotate. Specify the member that matches the payment connector's
type. Each credential that you select is rotated independently.- Parameters:
credentialsToRotate- The credentials to rotate. Specify the member that matches the payment connector'stype. Each credential that you select is rotated independently.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialsToRotate
default RotatePaymentConnectorCredentialsRequest.Builder credentialsToRotate(Consumer<CredentialRotationConfig.Builder> credentialsToRotate) The credentials to rotate. Specify the member that matches the payment connector's
This is a convenience method that creates an instance of thetype. Each credential that you select is rotated independently.CredentialRotationConfig.Builderavoiding the need to create one manually viaCredentialRotationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentialsToRotate(CredentialRotationConfig).- Parameters:
credentialsToRotate- a consumer that will call methods onCredentialRotationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RotatePaymentConnectorCredentialsRequest.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
RotatePaymentConnectorCredentialsRequest.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.
-