Class CfnBucketPropsMixin.TargetObjectKeyFormatProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.TargetObjectKeyFormatProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.TargetObjectKeyFormatProperty>
- Enclosing interface:
CfnBucketPropsMixin.TargetObjectKeyFormatProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.TargetObjectKeyFormatProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.TargetObjectKeyFormatProperty>
A builder for
CfnBucketPropsMixin.TargetObjectKeyFormatProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.partitionedPrefix(CfnBucketPropsMixin.PartitionedPrefixProperty partitionedPrefix) Sets the value ofCfnBucketPropsMixin.TargetObjectKeyFormatProperty.getPartitionedPrefix()partitionedPrefix(IResolvable partitionedPrefix) Sets the value ofCfnBucketPropsMixin.TargetObjectKeyFormatProperty.getPartitionedPrefix()simplePrefix(Object simplePrefix) Sets the value ofCfnBucketPropsMixin.TargetObjectKeyFormatProperty.getSimplePrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partitionedPrefix
@Stability(Stable) public CfnBucketPropsMixin.TargetObjectKeyFormatProperty.Builder partitionedPrefix(IResolvable partitionedPrefix) Sets the value ofCfnBucketPropsMixin.TargetObjectKeyFormatProperty.getPartitionedPrefix()- Parameters:
partitionedPrefix- Partitioned S3 key for log objects.- Returns:
this
-
partitionedPrefix
@Stability(Stable) public CfnBucketPropsMixin.TargetObjectKeyFormatProperty.Builder partitionedPrefix(CfnBucketPropsMixin.PartitionedPrefixProperty partitionedPrefix) Sets the value ofCfnBucketPropsMixin.TargetObjectKeyFormatProperty.getPartitionedPrefix()- Parameters:
partitionedPrefix- Partitioned S3 key for log objects.- Returns:
this
-
simplePrefix
@Stability(Stable) public CfnBucketPropsMixin.TargetObjectKeyFormatProperty.Builder simplePrefix(Object simplePrefix) Sets the value ofCfnBucketPropsMixin.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<CfnBucketPropsMixin.TargetObjectKeyFormatProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.TargetObjectKeyFormatProperty - Throws:
NullPointerException- if any required attribute was not provided
-