public static interface PutDestinationResponse.Builder extends CloudWatchLogsResponse.Builder, CopyableBuilder<PutDestinationResponse.Builder,PutDestinationResponse>
Modifier and Type | Method and Description |
---|---|
default PutDestinationResponse.Builder |
destination(Consumer<Destination.Builder> destination)
The destination.
|
PutDestinationResponse.Builder |
destination(Destination destination)
The destination.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PutDestinationResponse.Builder destination(Destination destination)
The destination.
destination
- The destination.default PutDestinationResponse.Builder destination(Consumer<Destination.Builder> destination)
The destination.
This is a convenience that creates an instance of theDestination.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 destination(Destination)
.destination
- a consumer that will call methods on Destination.Builder
destination(Destination)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.