Interface GetAbTestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<GetAbTestResponse.Builder,,GetAbTestResponse> SdkBuilder<GetAbTestResponse.Builder,,GetAbTestResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAbTestResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the A/B test.The unique identifier of the A/B test.The timestamp when the A/B test was created.currentRunId(String currentRunId) The identifier of the current run of the A/B test.description(String description) The description of the A/B test.errorDetails(String... errorDetails) The error details if the A/B test encountered failures.errorDetails(Collection<String> errorDetails) The error details if the A/B test encountered failures.default GetAbTestResponse.BuilderevaluationConfig(Consumer<ABTestEvaluationConfig.Builder> evaluationConfig) The evaluation configuration for measuring variant performance.evaluationConfig(ABTestEvaluationConfig evaluationConfig) The evaluation configuration for measuring variant performance.executionStatus(String executionStatus) The execution status indicating whether the A/B test is currently running.executionStatus(ABTestExecutionStatus executionStatus) The execution status indicating whether the A/B test is currently running.gatewayArn(String gatewayArn) The Amazon Resource Name (ARN) of the gateway used for traffic splitting.default GetAbTestResponse.BuildergatewayFilter(Consumer<GatewayFilter.Builder> gatewayFilter) The gateway filter restricting which target paths are included.gatewayFilter(GatewayFilter gatewayFilter) The gateway filter restricting which target paths are included.maxDurationExpiresAt(Instant maxDurationExpiresAt) The timestamp when the A/B test will automatically expire.The name of the A/B test.default GetAbTestResponse.Builderresults(Consumer<ABTestResults.Builder> results) The statistical results of the A/B test, including per-evaluator metrics and significance analysis.results(ABTestResults results) The statistical results of the A/B test, including per-evaluator metrics and significance analysis.The IAM role ARN used by the A/B test.The timestamp when the A/B test was started.The current status of the A/B test.status(ABTestStatus status) The current status of the A/B test.The timestamp when the A/B test was stopped.The timestamp when the A/B test was last updated.variants(Collection<Variant> variants) The list of variants in the A/B test.variants(Consumer<Variant.Builder>... variants) The list of variants in the A/B test.The list of variants in the A/B test.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
abTestId
The unique identifier of the A/B test.
- Parameters:
abTestId- The unique identifier of the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abTestArn
The Amazon Resource Name (ARN) of the A/B test.
- Parameters:
abTestArn- The Amazon Resource Name (ARN) of the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the A/B test.
- Parameters:
name- The name of the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the A/B test.
- Parameters:
description- The description of the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the A/B test.
- Parameters:
status- The current status of the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the A/B test.
- Parameters:
status- The current status of the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
The execution status indicating whether the A/B test is currently running.
- Parameters:
executionStatus- The execution status indicating whether the A/B test is currently running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
The execution status indicating whether the A/B test is currently running.
- Parameters:
executionStatus- The execution status indicating whether the A/B test is currently running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gatewayArn
The Amazon Resource Name (ARN) of the gateway used for traffic splitting.
- Parameters:
gatewayArn- The Amazon Resource Name (ARN) of the gateway used for traffic splitting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variants
The list of variants in the A/B test.
- Parameters:
variants- The list of variants in the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variants
The list of variants in the A/B test.
- Parameters:
variants- The list of variants in the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variants
The list of variants in the A/B test.
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 gateway filter restricting which target paths are included.
- Parameters:
gatewayFilter- The gateway filter restricting which target paths are included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayFilter
The gateway filter restricting which target paths are included.
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 evaluation configuration for measuring variant performance.
- Parameters:
evaluationConfig- The evaluation configuration for measuring variant performance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationConfig
default GetAbTestResponse.Builder evaluationConfig(Consumer<ABTestEvaluationConfig.Builder> evaluationConfig) The evaluation configuration for measuring variant performance.
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 IAM role ARN used by the A/B test.
- Parameters:
roleArn- The IAM role ARN used by the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRunId
The identifier of the current run of the A/B test.
- Parameters:
currentRunId- The identifier of the current run of the A/B test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
The error details if the A/B test encountered failures.
- Parameters:
errorDetails- The error details if the A/B test encountered failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
The error details if the A/B test encountered failures.
- Parameters:
errorDetails- The error details if the A/B test encountered failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The timestamp when the A/B test was started.
- Parameters:
startedAt- The timestamp when the A/B test was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppedAt
The timestamp when the A/B test was stopped.
- Parameters:
stoppedAt- The timestamp when the A/B test was stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxDurationExpiresAt
The timestamp when the A/B test will automatically expire.
- Parameters:
maxDurationExpiresAt- The timestamp when the A/B test will automatically expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the A/B test was created.
- Parameters:
createdAt- The timestamp when the A/B test was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the A/B test was last updated.
- Parameters:
updatedAt- The timestamp when the A/B test was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The statistical results of the A/B test, including per-evaluator metrics and significance analysis.
- Parameters:
results- The statistical results of the A/B test, including per-evaluator metrics and significance analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The statistical results of the A/B test, including per-evaluator metrics and significance analysis.
This is a convenience method that creates an instance of theABTestResults.Builderavoiding the need to create one manually viaABTestResults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(ABTestResults).- Parameters:
results- a consumer that will call methods onABTestResults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-