Interface GetAbTestResponse.Builder

  • Method Details

    • abTestId

      GetAbTestResponse.Builder abTestId(String 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

      GetAbTestResponse.Builder abTestArn(String 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

      GetAbTestResponse.Builder description(String 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

      GetAbTestResponse.Builder executionStatus(String 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

      GetAbTestResponse.Builder executionStatus(ABTestExecutionStatus 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

      GetAbTestResponse.Builder gatewayArn(String 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

      GetAbTestResponse.Builder variants(Variant... 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 the Variant.Builder avoiding the need to create one manually via Variant.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to variants(List<Variant>).

      Parameters:
      variants - a consumer that will call methods on Variant.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • gatewayFilter

      GetAbTestResponse.Builder gatewayFilter(GatewayFilter 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

      default GetAbTestResponse.Builder gatewayFilter(Consumer<GatewayFilter.Builder> gatewayFilter)

      The gateway filter restricting which target paths are included.

      This is a convenience method that creates an instance of the GatewayFilter.Builder avoiding the need to create one manually via GatewayFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to gatewayFilter(GatewayFilter).

      Parameters:
      gatewayFilter - a consumer that will call methods on GatewayFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluationConfig

      GetAbTestResponse.Builder evaluationConfig(ABTestEvaluationConfig 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 the ABTestEvaluationConfig.Builder avoiding the need to create one manually via ABTestEvaluationConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to evaluationConfig(ABTestEvaluationConfig).

      Parameters:
      evaluationConfig - a consumer that will call methods on ABTestEvaluationConfig.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

      GetAbTestResponse.Builder currentRunId(String 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

      GetAbTestResponse.Builder errorDetails(Collection<String> 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

      GetAbTestResponse.Builder errorDetails(String... 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

      GetAbTestResponse.Builder startedAt(Instant 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

      GetAbTestResponse.Builder stoppedAt(Instant 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

      GetAbTestResponse.Builder maxDurationExpiresAt(Instant 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

      GetAbTestResponse.Builder createdAt(Instant 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

      GetAbTestResponse.Builder updatedAt(Instant 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 the ABTestResults.Builder avoiding the need to create one manually via ABTestResults.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to results(ABTestResults).

      Parameters:
      results - a consumer that will call methods on ABTestResults.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: