Class CfnBucket.PartitionedPrefixProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.PartitionedPrefixProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.PartitionedPrefixProperty>
- Enclosing interface:
CfnBucket.PartitionedPrefixProperty
@Stability(Stable)
public static final class CfnBucket.PartitionedPrefixProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.PartitionedPrefixProperty>
A builder for
CfnBucket.PartitionedPrefixProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.partitionDateSource(String partitionDateSource) Sets the value ofCfnBucket.PartitionedPrefixProperty.getPartitionDateSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partitionDateSource
@Stability(Stable) public CfnBucket.PartitionedPrefixProperty.Builder partitionDateSource(String partitionDateSource) Sets the value ofCfnBucket.PartitionedPrefixProperty.getPartitionDateSource()- Parameters:
partitionDateSource- Specifies the partition date source for the partitioned prefix. PartitionDateSource can be EventTime or DeliveryTime.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucket.PartitionedPrefixProperty>- Returns:
- a new instance of
CfnBucket.PartitionedPrefixProperty - Throws:
NullPointerException- if any required attribute was not provided
-