Class CfnFlowLogPropsMixin.DestinationOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnFlowLogPropsMixin.DestinationOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowLogPropsMixin.DestinationOptionsProperty>
- Enclosing interface:
CfnFlowLogPropsMixin.DestinationOptionsProperty
@Stability(Stable)
public static final class CfnFlowLogPropsMixin.DestinationOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowLogPropsMixin.DestinationOptionsProperty>
A builder for
CfnFlowLogPropsMixin.DestinationOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileFormat(String fileFormat) Sets the value ofCfnFlowLogPropsMixin.DestinationOptionsProperty.getFileFormat()hiveCompatiblePartitions(Boolean hiveCompatiblePartitions) hiveCompatiblePartitions(IResolvable hiveCompatiblePartitions) perHourPartition(Boolean perHourPartition) Sets the value ofCfnFlowLogPropsMixin.DestinationOptionsProperty.getPerHourPartition()perHourPartition(IResolvable perHourPartition) Sets the value ofCfnFlowLogPropsMixin.DestinationOptionsProperty.getPerHourPartition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileFormat
@Stability(Stable) public CfnFlowLogPropsMixin.DestinationOptionsProperty.Builder fileFormat(String fileFormat) Sets the value ofCfnFlowLogPropsMixin.DestinationOptionsProperty.getFileFormat()- Parameters:
fileFormat- The format for the flow log. The default isplain-text.- Returns:
this
-
hiveCompatiblePartitions
@Stability(Stable) public CfnFlowLogPropsMixin.DestinationOptionsProperty.Builder hiveCompatiblePartitions(Boolean hiveCompatiblePartitions) - Parameters:
hiveCompatiblePartitions- Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default isfalse.- Returns:
this
-
hiveCompatiblePartitions
@Stability(Stable) public CfnFlowLogPropsMixin.DestinationOptionsProperty.Builder hiveCompatiblePartitions(IResolvable hiveCompatiblePartitions) - Parameters:
hiveCompatiblePartitions- Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default isfalse.- Returns:
this
-
perHourPartition
@Stability(Stable) public CfnFlowLogPropsMixin.DestinationOptionsProperty.Builder perHourPartition(Boolean perHourPartition) Sets the value ofCfnFlowLogPropsMixin.DestinationOptionsProperty.getPerHourPartition()- Parameters:
perHourPartition- Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. The default isfalse.- Returns:
this
-
perHourPartition
@Stability(Stable) public CfnFlowLogPropsMixin.DestinationOptionsProperty.Builder perHourPartition(IResolvable perHourPartition) Sets the value ofCfnFlowLogPropsMixin.DestinationOptionsProperty.getPerHourPartition()- Parameters:
perHourPartition- Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. The default isfalse.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowLogPropsMixin.DestinationOptionsProperty>- Returns:
- a new instance of
CfnFlowLogPropsMixin.DestinationOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-