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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDestinationsResponse.BuilderdestinationList(Collection<Destinations> destinationList)The list of destinations.ListDestinationsResponse.BuilderdestinationList(Consumer<Destinations.Builder>... destinationList)The list of destinations.ListDestinationsResponse.BuilderdestinationList(Destinations... destinationList)The list of destinations.ListDestinationsResponse.BuildernextToken(String nextToken)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
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotwireless.model.IotWirelessResponse.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
-
nextToken
ListDestinationsResponse.Builder nextToken(String 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
ListDestinationsResponse.Builder destinationList(Collection<Destinations> 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(Destinations... 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<Destinations.Builder>... 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 to#destinationList(List.) - 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:
#destinationList(java.util.Collection)
-
-