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, orRawformat.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.Builders3DeliveryConfiguration(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
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
-
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, 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
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.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:
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-