Class CfnBucketPropsMixin.IntelligentTieringConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.IntelligentTieringConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.IntelligentTieringConfigurationProperty>
- Enclosing interface:
CfnBucketPropsMixin.IntelligentTieringConfigurationProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.IntelligentTieringConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.IntelligentTieringConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBucketPropsMixin.IntelligentTieringConfigurationProperty.getId()Sets the value ofCfnBucketPropsMixin.IntelligentTieringConfigurationProperty.getPrefix()Sets the value ofCfnBucketPropsMixin.IntelligentTieringConfigurationProperty.getStatus()tagFilters(List<? extends Object> tagFilters) tagFilters(IResolvable tagFilters) tierings(IResolvable tierings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
@Stability(Stable) public CfnBucketPropsMixin.IntelligentTieringConfigurationProperty.Builder id(String id) Sets the value ofCfnBucketPropsMixin.IntelligentTieringConfigurationProperty.getId()- Parameters:
id- The ID used to identify the S3 Intelligent-Tiering configuration.- Returns:
this
-
prefix
@Stability(Stable) public CfnBucketPropsMixin.IntelligentTieringConfigurationProperty.Builder prefix(String prefix) Sets the value ofCfnBucketPropsMixin.IntelligentTieringConfigurationProperty.getPrefix()- Parameters:
prefix- An object key name prefix that identifies the subset of objects to which the rule applies.- Returns:
this
-
status
@Stability(Stable) public CfnBucketPropsMixin.IntelligentTieringConfigurationProperty.Builder status(String status) Sets the value ofCfnBucketPropsMixin.IntelligentTieringConfigurationProperty.getStatus()- Parameters:
status- Specifies the status of the configuration.- Returns:
this
-
tagFilters
@Stability(Stable) public CfnBucketPropsMixin.IntelligentTieringConfigurationProperty.Builder tagFilters(IResolvable tagFilters) - Parameters:
tagFilters- A container for a key-value pair.- Returns:
this
-
tagFilters
@Stability(Stable) public CfnBucketPropsMixin.IntelligentTieringConfigurationProperty.Builder tagFilters(List<? extends Object> tagFilters) - Parameters:
tagFilters- A container for a key-value pair.- Returns:
this
-
tierings
@Stability(Stable) public CfnBucketPropsMixin.IntelligentTieringConfigurationProperty.Builder tierings(IResolvable tierings) - Parameters:
tierings- Specifies a list of S3 Intelligent-Tiering storage class tiers in the configuration. At least one tier must be defined in the list. At most, you can specify two tiers in the list, one for each available AccessTier:ARCHIVE_ACCESSandDEEP_ARCHIVE_ACCESS.You only need Intelligent Tiering Configuration enabled on a bucket if you want to automatically move objects stored in the Intelligent-Tiering storage class to Archive Access or Deep Archive Access tiers.
- Returns:
this
-
tierings
@Stability(Stable) public CfnBucketPropsMixin.IntelligentTieringConfigurationProperty.Builder tierings(List<? extends Object> tierings) - Parameters:
tierings- Specifies a list of S3 Intelligent-Tiering storage class tiers in the configuration. At least one tier must be defined in the list. At most, you can specify two tiers in the list, one for each available AccessTier:ARCHIVE_ACCESSandDEEP_ARCHIVE_ACCESS.You only need Intelligent Tiering Configuration enabled on a bucket if you want to automatically move objects stored in the Intelligent-Tiering storage class to Archive Access or Deep Archive Access tiers.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.IntelligentTieringConfigurationProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.IntelligentTieringConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-