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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSinksResponse.Builderitems(Collection<ListSinksItem> items)An array of structures that contain the information about the returned sinks.ListSinksResponse.Builderitems(Consumer<ListSinksItem.Builder>... items)An array of structures that contain the information about the returned sinks.ListSinksResponse.Builderitems(ListSinksItem... items)An array of structures that contain the information about the returned sinks.ListSinksResponse.BuildernextToken(String nextToken)The token to use when requesting the next set of sinks.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.oam.model.OamResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
items
ListSinksResponse.Builder items(Collection<ListSinksItem> 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
ListSinksResponse.Builder items(ListSinksItem... 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
ListSinksResponse.Builder items(Consumer<ListSinksItem.Builder>... 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 to#items(List.) - 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:
#items(java.util.Collection)
-
nextToken
ListSinksResponse.Builder nextToken(String 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.
-
-