Interface UpdateDeliveryConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<UpdateDeliveryConfigurationRequest.Builder,
,UpdateDeliveryConfigurationRequest> SdkBuilder<UpdateDeliveryConfigurationRequest.Builder,
,UpdateDeliveryConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDeliveryConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionfieldDelimiter
(String fieldDelimiter) The field delimiter to use between record fields when the final output format of a delivery is inPlain
,W3C
, orRaw
format.The ID of the delivery to be updated by this request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recordFields
(String... recordFields) The list of record fields to be delivered to the destination, in order.recordFields
(Collection<String> recordFields) The list of record fields to be delivered to the destination, in order.s3DeliveryConfiguration
(Consumer<S3DeliveryConfiguration.Builder> s3DeliveryConfiguration) This structure contains parameters that are valid only when the delivery’s delivery destination is an S3 bucket.s3DeliveryConfiguration
(S3DeliveryConfiguration s3DeliveryConfiguration) This structure contains parameters that are valid only when the delivery’s delivery destination is an S3 bucket.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
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
-
Method Details
-
id
The ID of the delivery to be updated by this request.
- Parameters:
id
- The ID of the delivery to be updated by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordFields
The list of record fields to be delivered to the destination, in order. If the delivery’s log source has mandatory fields, they must be included in this list.
- Parameters:
recordFields
- The list of record fields to be delivered to the destination, in order. If the delivery’s log source has mandatory fields, they must be included in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordFields
The list of record fields to be delivered to the destination, in order. If the delivery’s log source has mandatory fields, they must be included in this list.
- Parameters:
recordFields
- The list of record fields to be delivered to the destination, in order. If the delivery’s log source has mandatory fields, they must be included in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldDelimiter
The field delimiter to use between record fields when the final output format of a delivery is in
Plain
,W3C
, orRaw
format.- Parameters:
fieldDelimiter
- The field delimiter to use between record fields when the final output format of a delivery is inPlain
,W3C
, orRaw
format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DeliveryConfiguration
UpdateDeliveryConfigurationRequest.Builder s3DeliveryConfiguration(S3DeliveryConfiguration s3DeliveryConfiguration) This structure contains parameters that are valid only when the delivery’s delivery destination is an S3 bucket.
- Parameters:
s3DeliveryConfiguration
- This structure contains parameters that are valid only when the delivery’s delivery destination is an S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DeliveryConfiguration
default UpdateDeliveryConfigurationRequest.Builder s3DeliveryConfiguration(Consumer<S3DeliveryConfiguration.Builder> s3DeliveryConfiguration) This structure contains parameters that are valid only when the delivery’s delivery destination is an S3 bucket.
This is a convenience method that creates an instance of theS3DeliveryConfiguration.Builder
avoiding the need to create one manually viaS3DeliveryConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3DeliveryConfiguration(S3DeliveryConfiguration)
.- Parameters:
s3DeliveryConfiguration
- a consumer that will call methods onS3DeliveryConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDeliveryConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDeliveryConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-