Class CfnBucketPropsMixin.PartitionedPrefixProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.PartitionedPrefixProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.PartitionedPrefixProperty>
- Enclosing interface:
CfnBucketPropsMixin.PartitionedPrefixProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.PartitionedPrefixProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.PartitionedPrefixProperty>
A builder for
CfnBucketPropsMixin.PartitionedPrefixProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.partitionDateSource(String partitionDateSource) Sets the value ofCfnBucketPropsMixin.PartitionedPrefixProperty.getPartitionDateSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partitionDateSource
@Stability(Stable) public CfnBucketPropsMixin.PartitionedPrefixProperty.Builder partitionDateSource(String partitionDateSource) Sets the value ofCfnBucketPropsMixin.PartitionedPrefixProperty.getPartitionDateSource()- Parameters:
partitionDateSource- Specifies the partition date source for the partitioned prefix.PartitionDateSourcecan beEventTimeorDeliveryTime. ForDeliveryTime, the time in the log file names corresponds to the delivery time for the log files.For
EventTime, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.PartitionedPrefixProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.PartitionedPrefixProperty - Throws:
NullPointerException- if any required attribute was not provided
-