Interface CreateDeliveryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<CreateDeliveryRequest.Builder,
,CreateDeliveryRequest> SdkBuilder<CreateDeliveryRequest.Builder,
,CreateDeliveryRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDeliveryRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeliveryDestinationArn
(String deliveryDestinationArn) The ARN of the delivery destination to use for this delivery.deliverySourceName
(String deliverySourceName) The name of the delivery source to use for this delivery.fieldDelimiter
(String fieldDelimiter) The field delimiter to use between record fields when the final output format of a delivery is inPlain
,W3C
, orRaw
format.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.default CreateDeliveryRequest.Builder
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.An optional list of key-value pairs to associate with the resource.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, sdkFieldNameToField, sdkFields
-
Method Details
-
deliverySourceName
The name of the delivery source to use for this delivery.
- Parameters:
deliverySourceName
- The name of the delivery source to use for this delivery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryDestinationArn
The ARN of the delivery destination to use for this delivery.
- Parameters:
deliveryDestinationArn
- The ARN of the delivery destination to use for this delivery.- 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
CreateDeliveryRequest.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 CreateDeliveryRequest.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:
-
tags
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
- Parameters:
tags
- An optional list of key-value pairs to associate with the resource.For more information about tagging, see Tagging Amazon Web Services resources
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDeliveryRequest.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
CreateDeliveryRequest.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.
-