Interface ListSinksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSinksResponse.Builder,,ListSinksResponse> OamResponse.Builder,SdkBuilder<ListSinksResponse.Builder,,ListSinksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSinksResponse
public static interface ListSinksResponse.Builder
extends OamResponse.Builder, SdkPojo, CopyableBuilder<ListSinksResponse.Builder,ListSinksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ListSinksItem> items) An array of structures that contain the information about the returned sinks.items(Consumer<ListSinksItem.Builder>... items) An array of structures that contain the information about the returned sinks.items(ListSinksItem... items) An array of structures that contain the information about the returned sinks.The token to use when requesting the next set of sinks.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.oam.model.OamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
An array of structures that contain the information about the returned sinks.
- Parameters:
items- An array of structures that contain the information about the returned sinks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of structures that contain the information about the returned sinks.
- Parameters:
items- An array of structures that contain the information about the returned sinks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of structures that contain the information about the returned sinks.
This is a convenience method that creates an instance of theListSinksItem.Builderavoiding the need to create one manually viaListSinksItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ListSinksItem>).- Parameters:
items- a consumer that will call methods onListSinksItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use when requesting the next set of sinks.
- Parameters:
nextToken- The token to use when requesting the next set of sinks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-