Interface TestTemplate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TestTemplate.Builder,,TestTemplate> SdkBuilder<TestTemplate.Builder,,TestTemplate> SdkPojo
- Enclosing class:
TestTemplate
@Mutable
@NotThreadSafe
public static interface TestTemplate.Builder
extends SdkPojo, CopyableBuilder<TestTemplate.Builder,TestTemplate>
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<TestAction> actions) The fault actions the test template runs.actions(Consumer<TestAction.Builder>... actions) The fault actions the test template runs.actions(TestAction... actions) The fault actions the test template runs.description(String description) A description of the test template.The name of the test template.parameters(Collection<TestTemplateParameter> parameters) The parameters the test template accepts.parameters(Consumer<TestTemplateParameter.Builder>... parameters) The parameters the test template accepts.parameters(TestTemplateParameter... parameters) The parameters the test template accepts.testTemplateArn(String testTemplateArn) The ARN of the test template.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
-
testTemplateArn
The ARN of the test template.
- Parameters:
testTemplateArn- The ARN of the test template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the test template.
- Parameters:
name- The name of the test template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the test template.
- Parameters:
description- A description of the test template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters the test template accepts.
- Parameters:
parameters- The parameters the test template accepts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters the test template accepts.
- Parameters:
parameters- The parameters the test template accepts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters the test template accepts.
This is a convenience method that creates an instance of theTestTemplateParameter.Builderavoiding the need to create one manually viaTestTemplateParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameters(List<TestTemplateParameter>).- Parameters:
parameters- a consumer that will call methods onTestTemplateParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actions
The fault actions the test template runs.
- Parameters:
actions- The fault actions the test template runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The fault actions the test template runs.
- Parameters:
actions- The fault actions the test template runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The fault actions the test template 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:
-