Interface Test.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Test.Builder,,Test> SdkBuilder<Test.Builder,,Test> SdkPojo
- Enclosing class:
Test
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<TestAction> actions) The fault actions the test runs.actions(Consumer<TestAction.Builder>... actions) The fault actions the test runs.actions(TestAction... actions) The fault actions the test runs.creationTime(Instant creationTime) The timestamp when the test was created.default Test.BuilderloggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) The logging configuration for the test.loggingConfiguration(LoggingConfiguration loggingConfiguration) The logging configuration for the test.The name of the test.parameters(Map<String, ? extends Collection<String>> parameters) The parameter values configured for the test.The name of the IAM execution role used to run the test.serviceArn(String serviceArn) The ARN of the service the test belongs to.stopConditions(Collection<StopCondition> stopConditions) The stop conditions for the test.stopConditions(Consumer<StopCondition.Builder>... stopConditions) The stop conditions for the test.stopConditions(StopCondition... stopConditions) The stop conditions for the test.successfulTestRuns(Integer successfulTestRuns) The number of successful runs of the test.The unique identifier of the test.testTemplateArn(String testTemplateArn) The ARN of the test template the test was created from.totalTestRuns(Integer totalTestRuns) The total number of runs of the test.Methods 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
-
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
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
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
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
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.
- 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 theTestAction.Builderavoiding the need to create one manually viaTestAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<TestAction>).- Parameters:
actions- a consumer that will call methods onTestAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theLoggingConfiguration.Builderavoiding the need to create one manually viaLoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingConfiguration(LoggingConfiguration).- Parameters:
loggingConfiguration- a consumer that will call methods onLoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The stop conditions for the test.
This is a convenience method that creates an instance of theStopCondition.Builderavoiding the need to create one manually viaStopCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostopConditions(List<StopCondition>).- Parameters:
stopConditions- a consumer that will call methods onStopCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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.
-