@Stability(value=Stable)
public static interface CfnDatastore.DatastorePartitionProperty
extends software.amazon.jsii.JsiiSerializable
The dimension must be an AttributePartition or a TimestampPartition .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotanalytics.*;
DatastorePartitionProperty datastorePartitionProperty = DatastorePartitionProperty.builder()
.partition(PartitionProperty.builder()
.attributeName("attributeName")
.build())
.timestampPartition(TimestampPartitionProperty.builder()
.attributeName("attributeName")
// the properties below are optional
.timestampFormat("timestampFormat")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDatastore.DatastorePartitionProperty.Builder
A builder for
CfnDatastore.DatastorePartitionProperty |
static class |
CfnDatastore.DatastorePartitionProperty.Jsii$Proxy
An implementation for
CfnDatastore.DatastorePartitionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDatastore.DatastorePartitionProperty.Builder |
builder() |
default Object |
getPartition()
A partition dimension defined by an attribute.
|
default Object |
getTimestampPartition()
A partition dimension defined by a timestamp attribute.
|
@Stability(value=Stable) @Nullable default Object getPartition()
@Stability(value=Stable) @Nullable default Object getTimestampPartition()
@Stability(value=Stable) static CfnDatastore.DatastorePartitionProperty.Builder builder()
Copyright © 2022. All rights reserved.