@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 |
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:
|
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 |
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:
|
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 |
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:
|
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 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.
retentionPeriod
- How long, in days, message data is kept for the data store.public RetentionPeriod getRetentionPeriod()
How long, in days, message data is kept for the data store.
public Datastore withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store.
retentionPeriod
- How long, in days, message data is kept for the data store.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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.