Class CfnDatastorePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.iotanalytics.mixins.CfnDatastorePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatastorePropsMixin>
- Enclosing class:
CfnDatastorePropsMixin
@Stability(Stable)
public static final class CfnDatastorePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatastorePropsMixin>
A fluent builder for
CfnDatastorePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) datastoreName(String datastoreName) The name of the data store.datastorePartitions(IResolvable datastorePartitions) Information about the partition dimensions in a data store.datastorePartitions(CfnDatastorePropsMixin.DatastorePartitionsProperty datastorePartitions) Information about the partition dimensions in a data store.datastoreStorage(IResolvable datastoreStorage) Where data store data is stored.datastoreStorage(CfnDatastorePropsMixin.DatastoreStorageProperty datastoreStorage) Where data store data is stored.fileFormatConfiguration(IResolvable fileFormatConfiguration) Contains the configuration information of file formats.fileFormatConfiguration(CfnDatastorePropsMixin.FileFormatConfigurationProperty fileFormatConfiguration) Contains the configuration information of file formats.retentionPeriod(IResolvable retentionPeriod) How long, in days, message data is kept for the data store.retentionPeriod(CfnDatastorePropsMixin.RetentionPeriodProperty retentionPeriod) How long, in days, message data is kept for the data store.Metadata which can be used to manage the data store.
-
Method Details
-
create
@Stability(Stable) public static CfnDatastorePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDatastorePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDatastorePropsMixin.Builder.
-
datastoreName
The name of the data store.- Parameters:
datastoreName- The name of the data store. This parameter is required.- Returns:
this- See Also:
-
datastorePartitions
@Stability(Stable) public CfnDatastorePropsMixin.Builder datastorePartitions(IResolvable datastorePartitions) Information about the partition dimensions in a data store.- Parameters:
datastorePartitions- Information about the partition dimensions in a data store. This parameter is required.- Returns:
this- See Also:
-
datastorePartitions
@Stability(Stable) public CfnDatastorePropsMixin.Builder datastorePartitions(CfnDatastorePropsMixin.DatastorePartitionsProperty datastorePartitions) Information about the partition dimensions in a data store.- Parameters:
datastorePartitions- Information about the partition dimensions in a data store. This parameter is required.- Returns:
this- See Also:
-
datastoreStorage
@Stability(Stable) public CfnDatastorePropsMixin.Builder datastoreStorage(IResolvable datastoreStorage) Where data store data is stored.- Parameters:
datastoreStorage- Where data store data is stored. This parameter is required.- Returns:
this- See Also:
-
datastoreStorage
@Stability(Stable) public CfnDatastorePropsMixin.Builder datastoreStorage(CfnDatastorePropsMixin.DatastoreStorageProperty datastoreStorage) Where data store data is stored.- Parameters:
datastoreStorage- Where data store data is stored. This parameter is required.- Returns:
this- See Also:
-
fileFormatConfiguration
@Stability(Stable) public CfnDatastorePropsMixin.Builder fileFormatConfiguration(IResolvable fileFormatConfiguration) Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet .The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- Parameters:
fileFormatConfiguration- Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet . This parameter is required.- Returns:
this- See Also:
-
fileFormatConfiguration
@Stability(Stable) public CfnDatastorePropsMixin.Builder fileFormatConfiguration(CfnDatastorePropsMixin.FileFormatConfigurationProperty fileFormatConfiguration) Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet .The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- Parameters:
fileFormatConfiguration- Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet . This parameter is required.- Returns:
this- See Also:
-
retentionPeriod
@Stability(Stable) public CfnDatastorePropsMixin.Builder retentionPeriod(IResolvable retentionPeriod) How long, in days, message data is kept for the data store.When
customerManagedS3storage is selected, this parameter is ignored.- Parameters:
retentionPeriod- How long, in days, message data is kept for the data store. This parameter is required.- Returns:
this- See Also:
-
retentionPeriod
@Stability(Stable) public CfnDatastorePropsMixin.Builder retentionPeriod(CfnDatastorePropsMixin.RetentionPeriodProperty retentionPeriod) How long, in days, message data is kept for the data store.When
customerManagedS3storage is selected, this parameter is ignored.- Parameters:
retentionPeriod- How long, in days, message data is kept for the data store. This parameter is required.- Returns:
this- See Also:
-
tags
Metadata which can be used to manage the data store.For more information, see Tag .
- Parameters:
tags- Metadata which can be used to manage the data store. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatastorePropsMixin>- Returns:
- a newly built instance of
CfnDatastorePropsMixin.
-