Interface ListDestinationsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListDestinationsResponse.Builder,,ListDestinationsResponse> IotRoboRunnerResponse.Builder,SdkBuilder<ListDestinationsResponse.Builder,,ListDestinationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListDestinationsResponse
public static interface ListDestinationsResponse.Builder
extends IotRoboRunnerResponse.Builder, SdkPojo, CopyableBuilder<ListDestinationsResponse.Builder,ListDestinationsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondestinations(Collection<Destination> destinations) Sets the value of the Destinations property for this object.destinations(Consumer<Destination.Builder>... destinations) Sets the value of the Destinations property for this object.destinations(Destination... destinations) Sets the value of the Destinations property for this object.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotroborunner.model.IotRoboRunnerResponse.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
- 
nextToken
Sets the value of the NextToken property for this object.- Parameters:
 nextToken- The new value for the NextToken property for this object.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
destinations
Sets the value of the Destinations property for this object.- Parameters:
 destinations- The new value for the Destinations property for this object.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
destinations
Sets the value of the Destinations property for this object.- Parameters:
 destinations- The new value for the Destinations property for this object.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
destinations
Sets the value of the Destinations property for this object. This is a convenience method that creates an instance of theDestination.Builderavoiding the need to create one manually viaDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinations(List<Destination>).- Parameters:
 destinations- a consumer that will call methods onDestination.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -