Class CfnDeliveryMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnDeliveryMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryMixinProps>
- Enclosing interface:
CfnDeliveryMixinProps
@Stability(Stable)
public static final class CfnDeliveryMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryMixinProps>
A builder for
CfnDeliveryMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deliveryDestinationArn(String deliveryDestinationArn) Sets the value ofCfnDeliveryMixinProps.getDeliveryDestinationArn()deliverySourceName(String deliverySourceName) Sets the value ofCfnDeliveryMixinProps.getDeliverySourceName()fieldDelimiter(String fieldDelimiter) Sets the value ofCfnDeliveryMixinProps.getFieldDelimiter()recordFields(List<String> recordFields) Sets the value ofCfnDeliveryMixinProps.getRecordFields()s3EnableHiveCompatiblePath(Boolean s3EnableHiveCompatiblePath) Sets the value ofCfnDeliveryMixinProps.getS3EnableHiveCompatiblePath()s3EnableHiveCompatiblePath(IResolvable s3EnableHiveCompatiblePath) Sets the value ofCfnDeliveryMixinProps.getS3EnableHiveCompatiblePath()s3SuffixPath(String s3SuffixPath) Sets the value ofCfnDeliveryMixinProps.getS3SuffixPath()Sets the value ofCfnDeliveryMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deliveryDestinationArn
@Stability(Stable) public CfnDeliveryMixinProps.Builder deliveryDestinationArn(String deliveryDestinationArn) Sets the value ofCfnDeliveryMixinProps.getDeliveryDestinationArn()- Parameters:
deliveryDestinationArn- The ARN of the delivery destination that is associated with this delivery.- Returns:
this
-
deliverySourceName
@Stability(Stable) public CfnDeliveryMixinProps.Builder deliverySourceName(String deliverySourceName) Sets the value ofCfnDeliveryMixinProps.getDeliverySourceName()- Parameters:
deliverySourceName- The name of the delivery source that is associated with this delivery.- Returns:
this
-
fieldDelimiter
Sets the value ofCfnDeliveryMixinProps.getFieldDelimiter()- Parameters:
fieldDelimiter- The field delimiter that is used between record fields when the final output format of a delivery is inPlain,W3C, orRawformat.- Returns:
this
-
recordFields
Sets the value ofCfnDeliveryMixinProps.getRecordFields()- 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:
this
-
s3EnableHiveCompatiblePath
@Stability(Stable) public CfnDeliveryMixinProps.Builder s3EnableHiveCompatiblePath(Boolean s3EnableHiveCompatiblePath) Sets the value ofCfnDeliveryMixinProps.getS3EnableHiveCompatiblePath()- Parameters:
s3EnableHiveCompatiblePath- Use this parameter to cause the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.- Returns:
this
-
s3EnableHiveCompatiblePath
@Stability(Stable) public CfnDeliveryMixinProps.Builder s3EnableHiveCompatiblePath(IResolvable s3EnableHiveCompatiblePath) Sets the value ofCfnDeliveryMixinProps.getS3EnableHiveCompatiblePath()- Parameters:
s3EnableHiveCompatiblePath- Use this parameter to cause the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.- Returns:
this
-
s3SuffixPath
Sets the value ofCfnDeliveryMixinProps.getS3SuffixPath()- Parameters:
s3SuffixPath- Use this to reconfigure the S3 object prefix to contain either static or variable sections. The valid variables to use in the suffix path will vary by each log source. To find the values supported for the suffix path for each log source, use the DescribeConfigurationTemplates operation and check theallowedSuffixPathFieldsfield in the response.- Returns:
this
-
tags
Sets the value ofCfnDeliveryMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to the delivery. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryMixinProps>- Returns:
- a new instance of
CfnDeliveryMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-