Interface UpdateTestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTestRequest.Builder,,UpdateTestRequest> Resiliencehubv2Request.Builder,SdkBuilder<UpdateTestRequest.Builder,,UpdateTestRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateTestRequest
@Mutable
@NotThreadSafe
public static interface UpdateTestRequest.Builder
extends Resiliencehubv2Request.Builder, SdkPojo, CopyableBuilder<UpdateTestRequest.Builder,UpdateTestRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateTestRequest.BuilderloggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) The updated logging configuration for the test.loggingConfiguration(LoggingConfiguration loggingConfiguration) The updated 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 updated parameter values for the test.The updated IAM execution role name.serviceArn(String serviceArn) The ARN of the service the test belongs to.stopConditions(Collection<StopCondition> stopConditions) The updated stop conditions for the test.stopConditions(Consumer<StopCondition.Builder>... stopConditions) The updated stop conditions for the test.stopConditions(StopCondition... stopConditions) The updated stop conditions for the test.The identifier of the test to update.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
-
testId
The identifier of the test to update.
- Parameters:
testId- The identifier of the test to update.- 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.
-
loggingConfiguration
The updated logging configuration for the test.
- Parameters:
loggingConfiguration- The updated logging configuration for the test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default UpdateTestRequest.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) The updated 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 updated stop conditions for the test.
- Parameters:
stopConditions- The updated stop conditions for the test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
The updated stop conditions for the test.
- Parameters:
stopConditions- The updated stop conditions for the test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
The updated 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 updated IAM execution role name.
- Parameters:
roleName- The updated IAM execution role name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The updated parameter values for the test.
- Parameters:
parameters- The updated parameter values for the test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateTestRequest.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
UpdateTestRequest.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.
-