Class CfnDatastore.PartitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDatastore.PartitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatastore.PartitionProperty>
- Enclosing interface:
CfnDatastore.PartitionProperty
@Stability(Stable)
public static final class CfnDatastore.PartitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatastore.PartitionProperty>
A builder for
CfnDatastore.PartitionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) Sets the value ofCfnDatastore.PartitionProperty.getAttributeName()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeName
@Stability(Stable) public CfnDatastore.PartitionProperty.Builder attributeName(String attributeName) Sets the value ofCfnDatastore.PartitionProperty.getAttributeName()
- Parameters:
attributeName
- The name of the attribute that defines a partition dimension. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDatastore.PartitionProperty>
- Returns:
- a new instance of
CfnDatastore.PartitionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-