Interface PutDeliveryDestinationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<PutDeliveryDestinationResponse.Builder,PutDeliveryDestinationResponse>,SdkBuilder<PutDeliveryDestinationResponse.Builder,PutDeliveryDestinationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutDeliveryDestinationResponse
public static interface PutDeliveryDestinationResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<PutDeliveryDestinationResponse.Builder,PutDeliveryDestinationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PutDeliveryDestinationResponse.BuilderdeliveryDestination(Consumer<DeliveryDestination.Builder> deliveryDestination)A structure containing information about the delivery destination that you just created or updated.PutDeliveryDestinationResponse.BuilderdeliveryDestination(DeliveryDestination deliveryDestination)A structure containing information about the delivery destination that you just created or updated.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
deliveryDestination
PutDeliveryDestinationResponse.Builder deliveryDestination(DeliveryDestination deliveryDestination)
A structure containing information about the delivery destination that you just created or updated.
- Parameters:
deliveryDestination- A structure containing information about the delivery destination that you just created or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryDestination
default PutDeliveryDestinationResponse.Builder deliveryDestination(Consumer<DeliveryDestination.Builder> deliveryDestination)
A structure containing information about the delivery destination that you just created or updated.
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:
deliveryDestination(DeliveryDestination)
-
-