Interface PutDeliverySourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchLogsResponse.Builder
,CopyableBuilder<PutDeliverySourceResponse.Builder,
,PutDeliverySourceResponse> SdkBuilder<PutDeliverySourceResponse.Builder,
,PutDeliverySourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutDeliverySourceResponse
public static interface PutDeliverySourceResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<PutDeliverySourceResponse.Builder,PutDeliverySourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeliverySource
(Consumer<DeliverySource.Builder> deliverySource) A structure containing information about the delivery source that was just created or updated.deliverySource
(DeliverySource deliverySource) A structure containing information about the delivery source that was 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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deliverySource
A structure containing information about the delivery source that was just created or updated.
- Parameters:
deliverySource
- A structure containing information about the delivery source that was just created or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliverySource
default PutDeliverySourceResponse.Builder deliverySource(Consumer<DeliverySource.Builder> deliverySource) A structure containing information about the delivery source that was just created or updated.
This is a convenience method that creates an instance of theDeliverySource.Builder
avoiding the need to create one manually viaDeliverySource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeliverySource(DeliverySource)
.- Parameters:
deliverySource
- a consumer that will call methods onDeliverySource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-