public static interface ListDestinationsResponse.Builder extends IotRoboRunnerResponse.Builder, SdkPojo, CopyableBuilder<ListDestinationsResponse.Builder,ListDestinationsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListDestinationsResponse.Builder |
destinations(Collection<Destination> destinations)
Sets the value of the Destinations property for this object.
|
ListDestinationsResponse.Builder |
destinations(Consumer<Destination.Builder>... destinations)
Sets the value of the Destinations property for this object.
|
ListDestinationsResponse.Builder |
destinations(Destination... destinations)
Sets the value of the Destinations property for this object.
|
ListDestinationsResponse.Builder |
nextToken(String nextToken)
Sets the value of the NextToken property for this object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListDestinationsResponse.Builder nextToken(String nextToken)
nextToken - The new value for the NextToken property for this object.ListDestinationsResponse.Builder destinations(Collection<Destination> destinations)
destinations - The new value for the Destinations property for this object.ListDestinationsResponse.Builder destinations(Destination... destinations)
destinations - The new value for the Destinations property for this object.ListDestinationsResponse.Builder destinations(Consumer<Destination.Builder>... destinations)
Destination.Builder avoiding the need to create
one manually via Destination.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #destinations(List.
destinations - a consumer that will call methods on
Destination.Builder#destinations(java.util.Collection) Copyright © 2023. All rights reserved.