Interface CreateTestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTestRequest.Builder,,CreateTestRequest> Resiliencehubv2Request.Builder,SdkBuilder<CreateTestRequest.Builder,,CreateTestRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTestRequest
@Mutable
@NotThreadSafe
public static interface CreateTestRequest.Builder
extends Resiliencehubv2Request.Builder, SdkPojo, CopyableBuilder<CreateTestRequest.Builder,CreateTestRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateTestRequest.BuilderloggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) The logging configuration for the test.loggingConfiguration(LoggingConfiguration loggingConfiguration) The logging configuration for the test.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameters(Map<String, ? extends Collection<String>> parameters) The parameter values for the test.The name of the IAM execution role to use when running the test.serviceArn(String serviceArn) The ARN of the service to create the test for.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.testTemplateArn(String testTemplateArn) The ARN of the test template to configure.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehubv2.model.Resiliencehubv2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceArn
The ARN of the service to create the test for.
- Parameters:
serviceArn- The ARN of the service to create the test for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testTemplateArn
The ARN of the test template to configure.
- Parameters:
testTemplateArn- The ARN of the test template to configure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 CreateTestRequest.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 to use when running the test.
- Parameters:
roleName- The name of the IAM execution role to use when running the test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameter values for the test.
- Parameters:
parameters- The parameter values for the test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTestRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateTestRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-