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 |
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 store data is stored.
|
Datastore.Builder |
storage(DatastoreStorage storage)
Where data store data 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 store data is stored. You can choose one of serviceManagedS3 or
customerManagedS3 storage. If not specified, the default is serviceManagedS3. You
cannot change this storage option after the data store is created.
storage - Where data store data is stored. You can choose one of serviceManagedS3 or
customerManagedS3 storage. If not specified, the default is serviceManagedS3
. You cannot change this storage option after the data store is created.default Datastore.Builder storage(Consumer<DatastoreStorage.Builder> storage)
Where data store data is stored. You can choose one of serviceManagedS3 or
customerManagedS3 storage. If not specified, the default is serviceManagedS3. You
cannot change this storage option after the 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.
AWS IoT Analytics updates this value at most once per minute for 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.
AWS IoT Analytics updates this value at most once per minute for 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. AWS 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. AWS 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. AWS 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 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)Copyright © 2021. All rights reserved.