public static interface DescribeDestinationsResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDestinationsResponse.Builder,DescribeDestinationsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeDestinationsResponse.Builder |
destinations(Collection<Destination> destinations)
The destinations.
|
DescribeDestinationsResponse.Builder |
destinations(Consumer<Destination.Builder>... destinations)
The destinations.
|
DescribeDestinationsResponse.Builder |
destinations(Destination... destinations)
The destinations.
|
DescribeDestinationsResponse.Builder |
nextToken(String nextToken)
Sets the value of the NextToken property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeDestinationsResponse.Builder destinations(Collection<Destination> destinations)
The destinations.
destinations
- The destinations.DescribeDestinationsResponse.Builder destinations(Destination... destinations)
The destinations.
destinations
- The destinations.DescribeDestinationsResponse.Builder destinations(Consumer<Destination.Builder>... destinations)
The destinations.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #destinations(List)
.destinations
- a consumer that will call methods on List.Builder
#destinations(List)
DescribeDestinationsResponse.Builder nextToken(String nextToken)
nextToken
- The new value for the NextToken property for this object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.