public static interface Datastore.Builder extends SdkPojo, CopyableBuilder<Datastore.Builder,Datastore>
| Modifier and Type | Method and Description |
|---|---|
Datastore.Builder |
arn(String arn)
The ARN of the data store.
|
Datastore.Builder |
creationTime(Instant creationTime)
When the data store was created.
|
default Datastore.Builder |
datastorePartitions(Consumer<DatastorePartitions.Builder> datastorePartitions)
Contains information about the partition dimensions in a data store.
|
Datastore.Builder |
datastorePartitions(DatastorePartitions datastorePartitions)
Contains information about the partition dimensions in a data store.
|
default Datastore.Builder |
fileFormatConfiguration(Consumer<FileFormatConfiguration.Builder> fileFormatConfiguration)
Contains the configuration information of file formats.
|
Datastore.Builder |
fileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats.
|
Datastore.Builder |
lastMessageArrivalTime(Instant lastMessageArrivalTime)
The last time when a new message arrived in the data store.
|
Datastore.Builder |
lastUpdateTime(Instant lastUpdateTime)
The last time the data store was updated.
|
Datastore.Builder |
name(String name)
The name of the data store.
|
default Datastore.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the data store.
|
Datastore.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store.
|
Datastore.Builder |
status(DatastoreStatus status)
The status of a data store:
|
Datastore.Builder |
status(String status)
The status of a data store:
|
default Datastore.Builder |
storage(Consumer<DatastoreStorage.Builder> storage)
Where data in a data store is stored..
|
Datastore.Builder |
storage(DatastoreStorage storage)
Where data in a data store is stored..
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDatastore.Builder name(String name)
The name of the data store.
name - The name of the data store.Datastore.Builder storage(DatastoreStorage storage)
Where data in a data store is stored.. You can choose serviceManagedS3 storage,
customerManagedS3 storage, or iotSiteWiseMultiLayerStorage storage. The default is
serviceManagedS3. You can't change the choice of Amazon S3 storage after your data store is
created.
storage - Where data in a data store is stored.. You can choose serviceManagedS3 storage,
customerManagedS3 storage, or iotSiteWiseMultiLayerStorage storage. The
default is serviceManagedS3. You can't change the choice of Amazon S3 storage after your
data store is created.default Datastore.Builder storage(Consumer<DatastoreStorage.Builder> storage)
Where data in a data store is stored.. You can choose serviceManagedS3 storage,
customerManagedS3 storage, or iotSiteWiseMultiLayerStorage storage. The default is
serviceManagedS3. You can't change the choice of Amazon S3 storage after your data store is
created.
DatastoreStorage.Builder avoiding the
need to create one manually via DatastoreStorage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to storage(DatastoreStorage).
storage - a consumer that will call methods on DatastoreStorage.Builderstorage(DatastoreStorage)Datastore.Builder arn(String arn)
The ARN of the data store.
arn - The ARN of the data store.Datastore.Builder status(String status)
The status of a data store:
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
status - The status of a data store:
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
DatastoreStatus,
DatastoreStatusDatastore.Builder status(DatastoreStatus status)
The status of a data store:
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
status - The status of a data store:
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
DatastoreStatus,
DatastoreStatusDatastore.Builder retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store. When customerManagedS3 storage is
selected, this parameter is ignored.
retentionPeriod - How long, in days, message data is kept for the data store. When customerManagedS3
storage is selected, this parameter is ignored.default Datastore.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the data store. When customerManagedS3 storage is
selected, this parameter is ignored.
RetentionPeriod.Builder avoiding the
need to create one manually via RetentionPeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to retentionPeriod(RetentionPeriod).
retentionPeriod - a consumer that will call methods on RetentionPeriod.BuilderretentionPeriod(RetentionPeriod)Datastore.Builder creationTime(Instant creationTime)
When the data store was created.
creationTime - When the data store was created.Datastore.Builder lastUpdateTime(Instant lastUpdateTime)
The last time the data store was updated.
lastUpdateTime - The last time the data store was updated.Datastore.Builder lastMessageArrivalTime(Instant lastMessageArrivalTime)
The last time when a new message arrived in the data store.
IoT Analytics updates this value at most once per minute for Amazon Simple Storage Service one data store.
Hence, the lastMessageArrivalTime value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
lastMessageArrivalTime - The last time when a new message arrived in the data store.
IoT Analytics updates this value at most once per minute for Amazon Simple Storage Service one data
store. Hence, the lastMessageArrivalTime value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
Datastore.Builder fileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats. IoT Analytics 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.
fileFormatConfiguration - Contains the configuration information of file formats. IoT Analytics 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.
default Datastore.Builder fileFormatConfiguration(Consumer<FileFormatConfiguration.Builder> fileFormatConfiguration)
Contains the configuration information of file formats. IoT Analytics 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.
This is a convenience method that creates an instance of theFileFormatConfiguration.Builder avoiding
the need to create one manually via FileFormatConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to fileFormatConfiguration(FileFormatConfiguration).
fileFormatConfiguration - a consumer that will call methods on FileFormatConfiguration.BuilderfileFormatConfiguration(FileFormatConfiguration)Datastore.Builder datastorePartitions(DatastorePartitions datastorePartitions)
Contains information about the partition dimensions in a data store.
datastorePartitions - Contains information about the partition dimensions in a data store.default Datastore.Builder datastorePartitions(Consumer<DatastorePartitions.Builder> datastorePartitions)
Contains information about the partition dimensions in a data store.
This is a convenience method that creates an instance of theDatastorePartitions.Builder avoiding the
need to create one manually via DatastorePartitions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to datastorePartitions(DatastorePartitions).
datastorePartitions - a consumer that will call methods on DatastorePartitions.BuilderdatastorePartitions(DatastorePartitions)Copyright © 2023. All rights reserved.