@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatastoreResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateDatastoreResult() |
Modifier and Type | Method and Description |
---|---|
CreateDatastoreResult |
clone() |
boolean |
equals(Object obj) |
String |
getDatastoreArn()
The ARN of the data store.
|
String |
getDatastoreName()
The name of the data store.
|
RetentionPeriod |
getRetentionPeriod()
How long, in days, message data is kept for the data store.
|
int |
hashCode() |
void |
setDatastoreArn(String datastoreArn)
The ARN of the data store.
|
void |
setDatastoreName(String datastoreName)
The name of the data store.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatastoreResult |
withDatastoreArn(String datastoreArn)
The ARN of the data store.
|
CreateDatastoreResult |
withDatastoreName(String datastoreName)
The name of the data store.
|
CreateDatastoreResult |
withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDatastoreName(String datastoreName)
The name of the data store.
datastoreName
- The name of the data store.public String getDatastoreName()
The name of the data store.
public CreateDatastoreResult withDatastoreName(String datastoreName)
The name of the data store.
datastoreName
- The name of the data store.public void setDatastoreArn(String datastoreArn)
The ARN of the data store.
datastoreArn
- The ARN of the data store.public String getDatastoreArn()
The ARN of the data store.
public CreateDatastoreResult withDatastoreArn(String datastoreArn)
The ARN of the data store.
datastoreArn
- The ARN of the data store.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 CreateDatastoreResult 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 String toString()
toString
in class Object
Object.toString()
public CreateDatastoreResult clone()