Class CfnBucket.TargetObjectKeyFormatProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.TargetObjectKeyFormatProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.TargetObjectKeyFormatProperty>
- Enclosing interface:
CfnBucket.TargetObjectKeyFormatProperty
@Stability(Stable)
public static final class CfnBucket.TargetObjectKeyFormatProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.TargetObjectKeyFormatProperty>
A builder for
CfnBucket.TargetObjectKeyFormatProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.partitionedPrefix(IResolvable partitionedPrefix) Sets the value ofCfnBucket.TargetObjectKeyFormatProperty.getPartitionedPrefix()partitionedPrefix(CfnBucket.PartitionedPrefixProperty partitionedPrefix) Sets the value ofCfnBucket.TargetObjectKeyFormatProperty.getPartitionedPrefix()simplePrefix(Object simplePrefix) Sets the value ofCfnBucket.TargetObjectKeyFormatProperty.getSimplePrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partitionedPrefix
@Stability(Stable) public CfnBucket.TargetObjectKeyFormatProperty.Builder partitionedPrefix(IResolvable partitionedPrefix) Sets the value ofCfnBucket.TargetObjectKeyFormatProperty.getPartitionedPrefix()- Parameters:
partitionedPrefix- Partitioned S3 key for log objects.- Returns:
this
-
partitionedPrefix
@Stability(Stable) public CfnBucket.TargetObjectKeyFormatProperty.Builder partitionedPrefix(CfnBucket.PartitionedPrefixProperty partitionedPrefix) Sets the value ofCfnBucket.TargetObjectKeyFormatProperty.getPartitionedPrefix()- Parameters:
partitionedPrefix- Partitioned S3 key for log objects.- Returns:
this
-
simplePrefix
@Stability(Stable) public CfnBucket.TargetObjectKeyFormatProperty.Builder simplePrefix(Object simplePrefix) Sets the value ofCfnBucket.TargetObjectKeyFormatProperty.getSimplePrefix()- Parameters:
simplePrefix- To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucket.TargetObjectKeyFormatProperty>- Returns:
- a new instance of
CfnBucket.TargetObjectKeyFormatProperty - Throws:
NullPointerException- if any required attribute was not provided
-