Interface GetDeliveryDestinationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<GetDeliveryDestinationResponse.Builder,,GetDeliveryDestinationResponse> SdkBuilder<GetDeliveryDestinationResponse.Builder,,GetDeliveryDestinationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDeliveryDestinationResponse
@Mutable
@NotThreadSafe
public static interface GetDeliveryDestinationResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<GetDeliveryDestinationResponse.Builder,GetDeliveryDestinationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeliveryDestination(Consumer<DeliveryDestination.Builder> deliveryDestination) A structure containing information about the delivery destination.deliveryDestination(DeliveryDestination deliveryDestination) A structure containing information about the delivery destination.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deliveryDestination
A structure containing information about the delivery destination.
- Parameters:
deliveryDestination- A structure containing information about the delivery destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryDestination
default GetDeliveryDestinationResponse.Builder deliveryDestination(Consumer<DeliveryDestination.Builder> deliveryDestination) A structure containing information about the delivery destination.
This is a convenience method that creates an instance of theDeliveryDestination.Builderavoiding the need to create one manually viaDeliveryDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeliveryDestination(DeliveryDestination).- Parameters:
deliveryDestination- a consumer that will call methods onDeliveryDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-