Class CfnDatastore.DatastorePartitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDatastore.DatastorePartitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatastore.DatastorePartitionProperty>
- Enclosing interface:
CfnDatastore.DatastorePartitionProperty
@Stability(Stable)
public static final class CfnDatastore.DatastorePartitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatastore.DatastorePartitionProperty>
A builder for
CfnDatastore.DatastorePartitionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.partition
(IResolvable partition) Sets the value ofCfnDatastore.DatastorePartitionProperty.getPartition()
partition
(CfnDatastore.PartitionProperty partition) Sets the value ofCfnDatastore.DatastorePartitionProperty.getPartition()
timestampPartition
(IResolvable timestampPartition) Sets the value ofCfnDatastore.DatastorePartitionProperty.getTimestampPartition()
timestampPartition
(CfnDatastore.TimestampPartitionProperty timestampPartition) Sets the value ofCfnDatastore.DatastorePartitionProperty.getTimestampPartition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partition
@Stability(Stable) public CfnDatastore.DatastorePartitionProperty.Builder partition(IResolvable partition) Sets the value ofCfnDatastore.DatastorePartitionProperty.getPartition()
- Parameters:
partition
- A partition dimension defined by an attribute.- Returns:
this
-
partition
@Stability(Stable) public CfnDatastore.DatastorePartitionProperty.Builder partition(CfnDatastore.PartitionProperty partition) Sets the value ofCfnDatastore.DatastorePartitionProperty.getPartition()
- Parameters:
partition
- A partition dimension defined by an attribute.- Returns:
this
-
timestampPartition
@Stability(Stable) public CfnDatastore.DatastorePartitionProperty.Builder timestampPartition(IResolvable timestampPartition) Sets the value ofCfnDatastore.DatastorePartitionProperty.getTimestampPartition()
- Parameters:
timestampPartition
- A partition dimension defined by a timestamp attribute.- Returns:
this
-
timestampPartition
@Stability(Stable) public CfnDatastore.DatastorePartitionProperty.Builder timestampPartition(CfnDatastore.TimestampPartitionProperty timestampPartition) Sets the value ofCfnDatastore.DatastorePartitionProperty.getTimestampPartition()
- Parameters:
timestampPartition
- A partition dimension defined by a timestamp attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDatastore.DatastorePartitionProperty>
- Returns:
- a new instance of
CfnDatastore.DatastorePartitionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-