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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDestinationsResponse.Builderdestinations(Collection<Destination> destinations)Sets the value of the Destinations property for this object.ListDestinationsResponse.Builderdestinations(Consumer<Destination.Builder>... destinations)Sets the value of the Destinations property for this object.ListDestinationsResponse.Builderdestinations(Destination... destinations)Sets the value of the Destinations property for this object.ListDestinationsResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotroborunner.model.IotRoboRunnerResponse.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)
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
ListDestinationsResponse.Builder destinations(Collection<Destination> 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
ListDestinationsResponse.Builder destinations(Destination... 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
ListDestinationsResponse.Builder destinations(Consumer<Destination.Builder>... 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 to#destinations(List.) - 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:
#destinations(java.util.Collection)
-
-