Interface ListCollectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<ListCollectorsResponse.Builder,,ListCollectorsResponse> SdkBuilder<ListCollectorsResponse.Builder,,ListCollectorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCollectorsResponse
@Mutable
@NotThreadSafe
public static interface ListCollectorsResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<ListCollectorsResponse.Builder,ListCollectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<CollectorSummary> items) The Collectors owned by the authenticated caller's account.items(Consumer<CollectorSummary.Builder>... items) The Collectors owned by the authenticated caller's account.items(CollectorSummary... items) The Collectors owned by the authenticated caller's account.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The Collectors owned by the authenticated caller's account. At most one result is currently returned, so no result ordering applies.
- Parameters:
items- The Collectors owned by the authenticated caller's account. At most one result is currently returned, so no result ordering applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The Collectors owned by the authenticated caller's account. At most one result is currently returned, so no result ordering applies.
- Parameters:
items- The Collectors owned by the authenticated caller's account. At most one result is currently returned, so no result ordering applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The Collectors owned by the authenticated caller's account. At most one result is currently returned, so no result ordering applies.
This is a convenience method that creates an instance of theCollectorSummary.Builderavoiding the need to create one manually viaCollectorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<CollectorSummary>).- Parameters:
items- a consumer that will call methods onCollectorSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-