Interface ListDestinationsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListDestinationsResponse.Builder,,ListDestinationsResponse> IotManagedIntegrationsResponse.Builder,SdkBuilder<ListDestinationsResponse.Builder,,ListDestinationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListDestinationsResponse
public static interface ListDestinationsResponse.Builder
extends IotManagedIntegrationsResponse.Builder, SdkPojo, CopyableBuilder<ListDestinationsResponse.Builder,ListDestinationsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondestinationList(Collection<DestinationSummary> destinationList) The list of destinations.destinationList(Consumer<DestinationSummary.Builder>... destinationList) The list of destinations.destinationList(DestinationSummary... destinationList) The list of destinations.A token that can be used to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsResponse.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
- 
destinationList
The list of destinations.
- Parameters:
 destinationList- The list of destinations.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
destinationList
The list of destinations.
- Parameters:
 destinationList- The list of destinations.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
destinationList
ListDestinationsResponse.Builder destinationList(Consumer<DestinationSummary.Builder>... destinationList) The list of destinations.
This is a convenience method that creates an instance of theDestinationSummary.Builderavoiding the need to create one manually viaDestinationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationList(List<DestinationSummary>).- Parameters:
 destinationList- a consumer that will call methods onDestinationSummary.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
nextToken
A token that can be used to retrieve the next set of results.
- Parameters:
 nextToken- A token that can be used to retrieve the next set of results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -