Class CfnDatastore.DatastorePartitionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDatastore.DatastorePartitionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatastore.DatastorePartitionsProperty>
- Enclosing interface:
CfnDatastore.DatastorePartitionsProperty
@Stability(Stable)
public static final class CfnDatastore.DatastorePartitionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatastore.DatastorePartitionsProperty>
A builder for
CfnDatastore.DatastorePartitionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.partitions
(List<? extends Object> partitions) Sets the value ofCfnDatastore.DatastorePartitionsProperty.getPartitions()
partitions
(IResolvable partitions) Sets the value ofCfnDatastore.DatastorePartitionsProperty.getPartitions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partitions
@Stability(Stable) public CfnDatastore.DatastorePartitionsProperty.Builder partitions(IResolvable partitions) Sets the value ofCfnDatastore.DatastorePartitionsProperty.getPartitions()
- Parameters:
partitions
- A list of partition dimensions in a data store.- Returns:
this
-
partitions
@Stability(Stable) public CfnDatastore.DatastorePartitionsProperty.Builder partitions(List<? extends Object> partitions) Sets the value ofCfnDatastore.DatastorePartitionsProperty.getPartitions()
- Parameters:
partitions
- A list of partition dimensions in a data store.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDatastore.DatastorePartitionsProperty>
- Returns:
- a new instance of
CfnDatastore.DatastorePartitionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-