Class CfnDelivery.Builder
java.lang.Object
software.amazon.awscdk.services.logs.CfnDelivery.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDelivery>
- Enclosing class:
CfnDelivery
@Stability(Stable)
public static final class CfnDelivery.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDelivery>
A fluent builder for
CfnDelivery.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDelivery.BuilderdeliveryDestinationArn(String deliveryDestinationArn) The ARN of the delivery destination that is associated with this delivery.deliverySourceName(String deliverySourceName) The name of the delivery source that is associated with this delivery.fieldDelimiter(String fieldDelimiter) The field delimiter that is used between record fields when the final output format of a delivery is inPlain,W3C, orRawformat.recordFields(List<String> recordFields) The record fields used in this delivery.s3EnableHiveCompatiblePath(Boolean s3EnableHiveCompatiblePath) This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.s3EnableHiveCompatiblePath(IResolvable s3EnableHiveCompatiblePath) This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.s3SuffixPath(String s3SuffixPath) This string allows re-configuring the S3 object prefix to contain either static or variable sections.The tags that have been assigned to this delivery.
-
Method Details
-
create
@Stability(Stable) public static CfnDelivery.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDelivery.Builder.
-
deliveryDestinationArn
The ARN of the delivery destination that is associated with this delivery.- Parameters:
deliveryDestinationArn- The ARN of the delivery destination that is associated with this delivery. This parameter is required.- Returns:
this- See Also:
-
deliverySourceName
The name of the delivery source that is associated with this delivery.- Parameters:
deliverySourceName- The name of the delivery source that is associated with this delivery. This parameter is required.- Returns:
this- See Also:
-
fieldDelimiter
The field delimiter that is used between record fields when the final output format of a delivery is inPlain,W3C, orRawformat.- Parameters:
fieldDelimiter- The field delimiter that is used between record fields when the final output format of a delivery is inPlain,W3C, orRawformat. This parameter is required.- Returns:
this- See Also:
-
recordFields
The record fields used in this delivery.- Parameters:
recordFields- The record fields used in this delivery. This parameter is required.- Returns:
this- See Also:
-
s3EnableHiveCompatiblePath
@Stability(Stable) public CfnDelivery.Builder s3EnableHiveCompatiblePath(Boolean s3EnableHiveCompatiblePath) This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.- Parameters:
s3EnableHiveCompatiblePath- This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive. This parameter is required.- Returns:
this- See Also:
-
s3EnableHiveCompatiblePath
@Stability(Stable) public CfnDelivery.Builder s3EnableHiveCompatiblePath(IResolvable s3EnableHiveCompatiblePath) This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.- Parameters:
s3EnableHiveCompatiblePath- This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive. This parameter is required.- Returns:
this- See Also:
-
s3SuffixPath
This string allows re-configuring 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. See ConfigurationTemplate$allowedSuffixPathFields for more info on what values are supported in the suffix path for each log source.
- Parameters:
s3SuffixPath- This string allows re-configuring the S3 object prefix to contain either static or variable sections. This parameter is required.- Returns:
this- See Also:
-
tags
The tags that have been assigned to this delivery.- Parameters:
tags- The tags that have been assigned to this delivery. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDelivery>- Returns:
- a newly built instance of
CfnDelivery.
-