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, orRawformat.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
buildMethods 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, 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, orRawformat.- Parameters:
fieldDelimiter- The field delimiter to use between record fields when the final output format of a delivery is inPlain,W3C, orRawformat.- 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.Builderavoiding the need to create one manually viaS3DeliveryConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-