Interface PutDestinationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchLogsResponse.Builder
,CopyableBuilder<PutDestinationResponse.Builder,
,PutDestinationResponse> SdkBuilder<PutDestinationResponse.Builder,
,PutDestinationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutDestinationResponse
public static interface PutDestinationResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<PutDestinationResponse.Builder,PutDestinationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PutDestinationResponse.Builder
destination
(Consumer<Destination.Builder> destination) The destination.destination
(Destination destination) The destination.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
destination
The destination.
- Parameters:
destination
- The destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
The destination.
This is a convenience method that creates an instance of theDestination.Builder
avoiding the need to create one manually viaDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestination(Destination)
.- Parameters:
destination
- 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:
-