Interface UpdateAbTestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<UpdateAbTestRequest.Builder,,UpdateAbTestRequest> SdkBuilder<UpdateAbTestRequest.Builder,,UpdateAbTestRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAbTestRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the A/B test to update.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.description(String description) The updated description of the A/B test.default UpdateAbTestRequest.BuilderevaluationConfig(Consumer<ABTestEvaluationConfig.Builder> evaluationConfig) The updated evaluation configuration.evaluationConfig(ABTestEvaluationConfig evaluationConfig) The updated evaluation configuration.executionStatus(String executionStatus) The updated execution status to enable or disable the A/B test.executionStatus(ABTestExecutionStatus executionStatus) The updated execution status to enable or disable the A/B test.default UpdateAbTestRequest.BuildergatewayFilter(Consumer<GatewayFilter.Builder> gatewayFilter) The updated gateway filter.gatewayFilter(GatewayFilter gatewayFilter) The updated gateway filter.The updated name of the A/B test.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The updated IAM role ARN.variants(Collection<Variant> variants) The updated list of variants.variants(Consumer<Variant.Builder>... variants) The updated list of variants.The updated list of variants.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.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
-
abTestId
The unique identifier of the A/B test to update.
- Parameters:
abTestId- The unique identifier of the A/B test to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name of the A/B test.
- Parameters:
name- The updated name of the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the A/B test.
- Parameters:
description- The updated description of the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variants
The updated list of variants.
- Parameters:
variants- The updated list of variants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variants
The updated list of variants.
- Parameters:
variants- The updated list of variants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variants
The updated list of variants.
This is a convenience method that creates an instance of theVariant.Builderavoiding the need to create one manually viaVariant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovariants(List<Variant>).- Parameters:
variants- a consumer that will call methods onVariant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gatewayFilter
The updated gateway filter.
- Parameters:
gatewayFilter- The updated gateway filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayFilter
The updated gateway filter.
This is a convenience method that creates an instance of theGatewayFilter.Builderavoiding the need to create one manually viaGatewayFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatewayFilter(GatewayFilter).- Parameters:
gatewayFilter- a consumer that will call methods onGatewayFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationConfig
The updated evaluation configuration.
- Parameters:
evaluationConfig- The updated evaluation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationConfig
default UpdateAbTestRequest.Builder evaluationConfig(Consumer<ABTestEvaluationConfig.Builder> evaluationConfig) The updated evaluation configuration.
This is a convenience method that creates an instance of theABTestEvaluationConfig.Builderavoiding the need to create one manually viaABTestEvaluationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationConfig(ABTestEvaluationConfig).- Parameters:
evaluationConfig- a consumer that will call methods onABTestEvaluationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The updated IAM role ARN.
- Parameters:
roleArn- The updated IAM role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionStatus
The updated execution status to enable or disable the A/B test.
- Parameters:
executionStatus- The updated execution status to enable or disable the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
The updated execution status to enable or disable the A/B test.
- Parameters:
executionStatus- The updated execution status to enable or disable the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAbTestRequest.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
UpdateAbTestRequest.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.
-