Class CfnDatastoreMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnDatastoreMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatastoreMixinProps>
- Enclosing interface:
CfnDatastoreMixinProps
@Stability(Stable)
public static final class CfnDatastoreMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatastoreMixinProps>
A builder for
CfnDatastoreMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datastoreName(String datastoreName) Sets the value ofCfnDatastoreMixinProps.getDatastoreName()datastorePartitions(CfnDatastorePropsMixin.DatastorePartitionsProperty datastorePartitions) Sets the value ofCfnDatastoreMixinProps.getDatastorePartitions()datastorePartitions(IResolvable datastorePartitions) Sets the value ofCfnDatastoreMixinProps.getDatastorePartitions()datastoreStorage(CfnDatastorePropsMixin.DatastoreStorageProperty datastoreStorage) Sets the value ofCfnDatastoreMixinProps.getDatastoreStorage()datastoreStorage(IResolvable datastoreStorage) Sets the value ofCfnDatastoreMixinProps.getDatastoreStorage()fileFormatConfiguration(CfnDatastorePropsMixin.FileFormatConfigurationProperty fileFormatConfiguration) Sets the value ofCfnDatastoreMixinProps.getFileFormatConfiguration()fileFormatConfiguration(IResolvable fileFormatConfiguration) Sets the value ofCfnDatastoreMixinProps.getFileFormatConfiguration()retentionPeriod(CfnDatastorePropsMixin.RetentionPeriodProperty retentionPeriod) Sets the value ofCfnDatastoreMixinProps.getRetentionPeriod()retentionPeriod(IResolvable retentionPeriod) Sets the value ofCfnDatastoreMixinProps.getRetentionPeriod()Sets the value ofCfnDatastoreMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datastoreName
Sets the value ofCfnDatastoreMixinProps.getDatastoreName()- Parameters:
datastoreName- The name of the data store.- Returns:
this
-
datastorePartitions
@Stability(Stable) public CfnDatastoreMixinProps.Builder datastorePartitions(IResolvable datastorePartitions) Sets the value ofCfnDatastoreMixinProps.getDatastorePartitions()- Parameters:
datastorePartitions- Information about the partition dimensions in a data store.- Returns:
this
-
datastorePartitions
@Stability(Stable) public CfnDatastoreMixinProps.Builder datastorePartitions(CfnDatastorePropsMixin.DatastorePartitionsProperty datastorePartitions) Sets the value ofCfnDatastoreMixinProps.getDatastorePartitions()- Parameters:
datastorePartitions- Information about the partition dimensions in a data store.- Returns:
this
-
datastoreStorage
@Stability(Stable) public CfnDatastoreMixinProps.Builder datastoreStorage(IResolvable datastoreStorage) Sets the value ofCfnDatastoreMixinProps.getDatastoreStorage()- Parameters:
datastoreStorage- Where data store data is stored.- Returns:
this
-
datastoreStorage
@Stability(Stable) public CfnDatastoreMixinProps.Builder datastoreStorage(CfnDatastorePropsMixin.DatastoreStorageProperty datastoreStorage) Sets the value ofCfnDatastoreMixinProps.getDatastoreStorage()- Parameters:
datastoreStorage- Where data store data is stored.- Returns:
this
-
fileFormatConfiguration
@Stability(Stable) public CfnDatastoreMixinProps.Builder fileFormatConfiguration(IResolvable fileFormatConfiguration) Sets the value ofCfnDatastoreMixinProps.getFileFormatConfiguration()- Parameters:
fileFormatConfiguration- Contains the configuration information of file formats. ITA 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.
- Returns:
this
-
fileFormatConfiguration
@Stability(Stable) public CfnDatastoreMixinProps.Builder fileFormatConfiguration(CfnDatastorePropsMixin.FileFormatConfigurationProperty fileFormatConfiguration) Sets the value ofCfnDatastoreMixinProps.getFileFormatConfiguration()- Parameters:
fileFormatConfiguration- Contains the configuration information of file formats. ITA 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.
- Returns:
this
-
retentionPeriod
@Stability(Stable) public CfnDatastoreMixinProps.Builder retentionPeriod(IResolvable retentionPeriod) Sets the value ofCfnDatastoreMixinProps.getRetentionPeriod()- Parameters:
retentionPeriod- How long, in days, message data is kept for the data store. WhencustomerManagedS3storage is selected, this parameter is ignored.- Returns:
this
-
retentionPeriod
@Stability(Stable) public CfnDatastoreMixinProps.Builder retentionPeriod(CfnDatastorePropsMixin.RetentionPeriodProperty retentionPeriod) Sets the value ofCfnDatastoreMixinProps.getRetentionPeriod()- Parameters:
retentionPeriod- How long, in days, message data is kept for the data store. WhencustomerManagedS3storage is selected, this parameter is ignored.- Returns:
this
-
tags
Sets the value ofCfnDatastoreMixinProps.getTags()- Parameters:
tags- Metadata which can be used to manage the data store. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatastoreMixinProps>- Returns:
- a new instance of
CfnDatastoreMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-