Class CfnDatasetPropsMixin.VersioningConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnDatasetPropsMixin.VersioningConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetPropsMixin.VersioningConfigurationProperty>
- Enclosing interface:
CfnDatasetPropsMixin.VersioningConfigurationProperty
@Stability(Stable)
public static final class CfnDatasetPropsMixin.VersioningConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetPropsMixin.VersioningConfigurationProperty>
A builder for
CfnDatasetPropsMixin.VersioningConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxVersions(Number maxVersions) Sets the value ofCfnDatasetPropsMixin.VersioningConfigurationProperty.getMaxVersions()Sets the value ofCfnDatasetPropsMixin.VersioningConfigurationProperty.getUnlimited()unlimited(IResolvable unlimited) Sets the value ofCfnDatasetPropsMixin.VersioningConfigurationProperty.getUnlimited()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxVersions
@Stability(Stable) public CfnDatasetPropsMixin.VersioningConfigurationProperty.Builder maxVersions(Number maxVersions) Sets the value ofCfnDatasetPropsMixin.VersioningConfigurationProperty.getMaxVersions()- Parameters:
maxVersions- How many versions of dataset contents are kept. Theunlimitedparameter must befalse.- Returns:
this
-
unlimited
@Stability(Stable) public CfnDatasetPropsMixin.VersioningConfigurationProperty.Builder unlimited(Boolean unlimited) Sets the value ofCfnDatasetPropsMixin.VersioningConfigurationProperty.getUnlimited()- Parameters:
unlimited- If true, unlimited versions of dataset contents are kept.- Returns:
this
-
unlimited
@Stability(Stable) public CfnDatasetPropsMixin.VersioningConfigurationProperty.Builder unlimited(IResolvable unlimited) Sets the value ofCfnDatasetPropsMixin.VersioningConfigurationProperty.getUnlimited()- Parameters:
unlimited- If true, unlimited versions of dataset contents are kept.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetPropsMixin.VersioningConfigurationProperty>- Returns:
- a new instance of
CfnDatasetPropsMixin.VersioningConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-