Interface Test.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Test.Builder,Test>, SdkBuilder<Test.Builder,Test>, SdkPojo
Enclosing class:
Test

@Mutable @NotThreadSafe public static interface Test.Builder extends SdkPojo, CopyableBuilder<Test.Builder,Test>
  • Method Details

    • testId

      Test.Builder testId(String testId)

      The unique identifier of the test.

      Parameters:
      testId - The unique identifier of the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testTemplateArn

      Test.Builder testTemplateArn(String testTemplateArn)

      The ARN of the test template the test was created from.

      Parameters:
      testTemplateArn - The ARN of the test template the test was created from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceArn

      Test.Builder serviceArn(String serviceArn)

      The ARN of the service the test belongs to.

      Parameters:
      serviceArn - The ARN of the service the test belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Test.Builder name(String name)

      The name of the test.

      Parameters:
      name - The name of the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      Test.Builder actions(Collection<TestAction> actions)

      The fault actions the test runs.

      Parameters:
      actions - The fault actions the test runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      Test.Builder actions(TestAction... actions)

      The fault actions the test runs.

      Parameters:
      actions - The fault actions the test runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      The fault actions the test runs.

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

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

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

      Test.Builder loggingConfiguration(LoggingConfiguration loggingConfiguration)

      The logging configuration for the test.

      Parameters:
      loggingConfiguration - The logging configuration for the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • loggingConfiguration

      default Test.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration)

      The logging configuration for the test.

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

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

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

      Test.Builder stopConditions(Collection<StopCondition> stopConditions)

      The stop conditions for the test.

      Parameters:
      stopConditions - The stop conditions for the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stopConditions

      Test.Builder stopConditions(StopCondition... stopConditions)

      The stop conditions for the test.

      Parameters:
      stopConditions - The stop conditions for the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stopConditions

      Test.Builder stopConditions(Consumer<StopCondition.Builder>... stopConditions)

      The stop conditions for the test.

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

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

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

      Test.Builder roleName(String roleName)

      The name of the IAM execution role used to run the test.

      Parameters:
      roleName - The name of the IAM execution role used to run the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      Test.Builder parameters(Map<String,? extends Collection<String>> parameters)

      The parameter values configured for the test.

      Parameters:
      parameters - The parameter values configured for the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalTestRuns

      Test.Builder totalTestRuns(Integer totalTestRuns)

      The total number of runs of the test.

      Parameters:
      totalTestRuns - The total number of runs of the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successfulTestRuns

      Test.Builder successfulTestRuns(Integer successfulTestRuns)

      The number of successful runs of the test.

      Parameters:
      successfulTestRuns - The number of successful runs of the test.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      Test.Builder creationTime(Instant creationTime)

      The timestamp when the test was created.

      Parameters:
      creationTime - The timestamp when the test was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.