Class CfnBucketPropsMixin.VersioningConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.VersioningConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.VersioningConfigurationProperty>
- Enclosing interface:
CfnBucketPropsMixin.VersioningConfigurationProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.VersioningConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.VersioningConfigurationProperty>
A builder for
CfnBucketPropsMixin.VersioningConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBucketPropsMixin.VersioningConfigurationProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
@Stability(Stable) public CfnBucketPropsMixin.VersioningConfigurationProperty.Builder status(String status) Sets the value ofCfnBucketPropsMixin.VersioningConfigurationProperty.getStatus()- Parameters:
status- The versioning state of the bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.VersioningConfigurationProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.VersioningConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-