public static final class CfnFlowLog.DestinationOptionsProperty.Builder
extends java.lang.Object
CfnFlowLog.DestinationOptionsProperty
Constructor and Description |
---|
Builder() |
public CfnFlowLog.DestinationOptionsProperty.Builder fileFormat(java.lang.String fileFormat)
CfnFlowLog.DestinationOptionsProperty.getFileFormat()
fileFormat
- The format for the flow log. This parameter is required.
The default is plain-text
.this
public CfnFlowLog.DestinationOptionsProperty.Builder hiveCompatiblePartitions(java.lang.Boolean hiveCompatiblePartitions)
CfnFlowLog.DestinationOptionsProperty.getHiveCompatiblePartitions()
hiveCompatiblePartitions
- Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. This parameter is required.
The default is false
.this
public CfnFlowLog.DestinationOptionsProperty.Builder hiveCompatiblePartitions(IResolvable hiveCompatiblePartitions)
CfnFlowLog.DestinationOptionsProperty.getHiveCompatiblePartitions()
hiveCompatiblePartitions
- Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. This parameter is required.
The default is false
.this
public CfnFlowLog.DestinationOptionsProperty.Builder perHourPartition(java.lang.Boolean perHourPartition)
CfnFlowLog.DestinationOptionsProperty.getPerHourPartition()
perHourPartition
- Indicates whether to partition the flow log per hour. This parameter is required.
This reduces the cost and response time for queries. The default is false
.this
public CfnFlowLog.DestinationOptionsProperty.Builder perHourPartition(IResolvable perHourPartition)
CfnFlowLog.DestinationOptionsProperty.getPerHourPartition()
perHourPartition
- Indicates whether to partition the flow log per hour. This parameter is required.
This reduces the cost and response time for queries. The default is false
.this
public CfnFlowLog.DestinationOptionsProperty build()
CfnFlowLog.DestinationOptionsProperty
java.lang.NullPointerException
- if any required attribute was not provided