@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Datastore extends Object implements Serializable, Cloneable, StructuredPojo
Information about a data store.
Constructor and Description |
---|
Datastore() |
Modifier and Type | Method and Description |
---|---|
Datastore |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the data store.
|
Date |
getCreationTime()
When the data store was created.
|
DatastorePartitions |
getDatastorePartitions()
Contains information about the partition dimensions in a data store.
|
FileFormatConfiguration |
getFileFormatConfiguration()
Contains the configuration information of file formats.
|
Date |
getLastMessageArrivalTime()
The last time when a new message arrived in the data store.
|
Date |
getLastUpdateTime()
The last time the data store was updated.
|
String |
getName()
The name of the data store.
|
RetentionPeriod |
getRetentionPeriod()
How long, in days, message data is kept for the data store.
|
String |
getStatus()
The status of a data store:
|
DatastoreStorage |
getStorage()
Where data in a data store is stored..
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the data store.
|
void |
setCreationTime(Date creationTime)
When the data store was created.
|
void |
setDatastorePartitions(DatastorePartitions datastorePartitions)
Contains information about the partition dimensions in a data store.
|
void |
setFileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats.
|
void |
setLastMessageArrivalTime(Date lastMessageArrivalTime)
The last time when a new message arrived in the data store.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The last time the data store was updated.
|
void |
setName(String name)
The name of the data store.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store.
|
void |
setStatus(String status)
The status of a data store:
|
void |
setStorage(DatastoreStorage storage)
Where data in a data store is stored..
|
String |
toString()
Returns a string representation of this object.
|
Datastore |
withArn(String arn)
The ARN of the data store.
|
Datastore |
withCreationTime(Date creationTime)
When the data store was created.
|
Datastore |
withDatastorePartitions(DatastorePartitions datastorePartitions)
Contains information about the partition dimensions in a data store.
|
Datastore |
withFileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats.
|
Datastore |
withLastMessageArrivalTime(Date lastMessageArrivalTime)
The last time when a new message arrived in the data store.
|
Datastore |
withLastUpdateTime(Date lastUpdateTime)
The last time the data store was updated.
|
Datastore |
withName(String name)
The name of the data store.
|
Datastore |
withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store.
|
Datastore |
withStatus(DatastoreStatus status)
The status of a data store:
|
Datastore |
withStatus(String status)
The status of a data store:
|
Datastore |
withStorage(DatastoreStorage storage)
Where data in a data store is stored..
|
public void setName(String name)
The name of the data store.
name
- The name of the data store.public String getName()
The name of the data store.
public Datastore withName(String name)
The name of the data store.
name
- The name of the data store.public void setStorage(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.public DatastoreStorage getStorage()
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 Datastore withStorage(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.public void setArn(String arn)
The ARN of the data store.
arn
- The ARN of the data store.public String getArn()
The ARN of the data store.
public Datastore withArn(String arn)
The ARN of the data store.
arn
- The ARN of the data store.public void setStatus(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
public String getStatus()
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.
The data store is being created.
The data store has been created and can be used.
The data store is being deleted.
DatastoreStatus
public Datastore withStatus(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
public Datastore withStatus(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
public void setRetentionPeriod(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.public RetentionPeriod getRetentionPeriod()
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 Datastore withRetentionPeriod(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.public void setCreationTime(Date creationTime)
When the data store was created.
creationTime
- When the data store was created.public Date getCreationTime()
When the data store was created.
public Datastore withCreationTime(Date creationTime)
When the data store was created.
creationTime
- When the data store was created.public void setLastUpdateTime(Date lastUpdateTime)
The last time the data store was updated.
lastUpdateTime
- The last time the data store was updated.public Date getLastUpdateTime()
The last time the data store was updated.
public Datastore withLastUpdateTime(Date lastUpdateTime)
The last time the data store was updated.
lastUpdateTime
- The last time the data store was updated.public void setLastMessageArrivalTime(Date 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.
public Date getLastMessageArrivalTime()
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 Datastore withLastMessageArrivalTime(Date 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.
public void setFileFormatConfiguration(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.
public FileFormatConfiguration getFileFormatConfiguration()
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 Datastore withFileFormatConfiguration(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.
public void setDatastorePartitions(DatastorePartitions datastorePartitions)
Contains information about the partition dimensions in a data store.
datastorePartitions
- Contains information about the partition dimensions in a data store.public DatastorePartitions getDatastorePartitions()
Contains information about the partition dimensions in a data store.
public Datastore withDatastorePartitions(DatastorePartitions datastorePartitions)
Contains information about the partition dimensions in a data store.
datastorePartitions
- Contains information about the partition dimensions in a data store.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.