@Generated(value="software.amazon.awssdk:codegen") public final class Datastore extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Datastore.Builder,Datastore>
Information about a data store.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Datastore.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the data store.
|
static Datastore.Builder |
builder() |
Instant |
creationTime()
When the data store was created.
|
DatastorePartitions |
datastorePartitions()
Contains information about the partition dimensions in a data store.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FileFormatConfiguration |
fileFormatConfiguration()
Contains the configuration information of file formats.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastMessageArrivalTime()
The last time when a new message arrived in the data store.
|
Instant |
lastUpdateTime()
The last time the data store was updated.
|
String |
name()
The name of the data store.
|
RetentionPeriod |
retentionPeriod()
How long, in days, message data is kept for the data store.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Datastore.Builder> |
serializableBuilderClass() |
DatastoreStatus |
status()
The status of a data store:
|
String |
statusAsString()
The status of a data store:
|
DatastoreStorage |
storage()
Where data in a data store is stored..
|
Datastore.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the data store.
public final 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.
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.public final String arn()
The ARN of the data store.
public final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return DatastoreStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
DatastoreStatuspublic final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return DatastoreStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
DatastoreStatuspublic final RetentionPeriod retentionPeriod()
How long, in days, message data is kept for the data store. When customerManagedS3 storage is
selected, this parameter is ignored.
customerManagedS3 storage
is selected, this parameter is ignored.public final Instant creationTime()
When the data store was created.
public final Instant lastUpdateTime()
The last time the data store was updated.
public final 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.
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.
public final 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.
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.
public final DatastorePartitions datastorePartitions()
Contains information about the partition dimensions in a data store.
public Datastore.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Datastore.Builder,Datastore>public static Datastore.Builder builder()
public static Class<? extends Datastore.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.