Interface ListSinksResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListSinksResponse.Builder,,- ListSinksResponse> - OamResponse.Builder,- SdkBuilder<ListSinksResponse.Builder,,- ListSinksResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListSinksResponse
@Mutable
@NotThreadSafe
public static interface ListSinksResponse.Builder
extends OamResponse.Builder, SdkPojo, CopyableBuilder<ListSinksResponse.Builder,ListSinksResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.oam.model.OamResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
itemsAn 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.
 
- 
itemsAn 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.
 
- 
itemsAn 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 on- ListSinksItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenThe 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.
 
 
-