Interface ListTestSourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTestSourcesResponse.Builder,,ListTestSourcesResponse> Resiliencehubv2Response.Builder,SdkBuilder<ListTestSourcesResponse.Builder,,ListTestSourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTestSourcesResponse
@Mutable
@NotThreadSafe
public static interface ListTestSourcesResponse.Builder
extends Resiliencehubv2Response.Builder, SdkPojo, CopyableBuilder<ListTestSourcesResponse.Builder,ListTestSourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the NextToken property for this object.testSources(Collection<TestSourceSummary> testSources) The list of configured monitoring sources.testSources(Consumer<TestSourceSummary.Builder>... testSources) The list of configured monitoring sources.testSources(TestSourceSummary... testSources) The list of configured monitoring sources.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehubv2.model.Resiliencehubv2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
testSources
The list of configured monitoring sources.
- Parameters:
testSources- The list of configured monitoring sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSources
The list of configured monitoring sources.
- Parameters:
testSources- The list of configured monitoring sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSources
The list of configured monitoring sources.
This is a convenience method that creates an instance of theTestSourceSummary.Builderavoiding the need to create one manually viaTestSourceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestSources(List<TestSourceSummary>).- Parameters:
testSources- a consumer that will call methods onTestSourceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-