Interface PutTestSourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutTestSourcesRequest.Builder,,PutTestSourcesRequest> Resiliencehubv2Request.Builder,SdkBuilder<PutTestSourcesRequest.Builder,,PutTestSourcesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutTestSourcesRequest
@Mutable
@NotThreadSafe
public static interface PutTestSourcesRequest.Builder
extends Resiliencehubv2Request.Builder, SdkPojo, CopyableBuilder<PutTestSourcesRequest.Builder,PutTestSourcesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceArn(String serviceArn) The ARN of the service the test belongs to.The identifier of the test to add sources to.testSources(Collection<TestSourceInput> testSources) The monitoring sources to add or update.testSources(Consumer<TestSourceInput.Builder>... testSources) The monitoring sources to add or update.testSources(TestSourceInput... testSources) The monitoring sources to add or 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 add sources to.
- Parameters:
testId- The identifier of the test to add sources to.- 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.
-
testSources
The monitoring sources to add or update.
- Parameters:
testSources- The monitoring sources to add or update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSources
The monitoring sources to add or update.
- Parameters:
testSources- The monitoring sources to add or update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSources
The monitoring sources to add or update.
This is a convenience method that creates an instance of theTestSourceInput.Builderavoiding the need to create one manually viaTestSourceInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestSources(List<TestSourceInput>).- Parameters:
testSources- a consumer that will call methods onTestSourceInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutTestSourcesRequest.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
PutTestSourcesRequest.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.
-