@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.
|
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 store data 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 |
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 store data 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 |
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 store data 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 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.public DatastoreStorage getStorage()
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.
serviceManagedS3
or
customerManagedS3
storage. If not specified, the default is serviceManagedS3
.
You cannot change this storage option after the data store is created.public Datastore withStorage(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.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.
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.
public Date getLastMessageArrivalTime()
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.
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.
public Datastore withLastMessageArrivalTime(Date 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.
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.