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