@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatastoreRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDatastoreRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDatastoreRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatastoreName()
The name of the data store.
|
RetentionPeriod |
getRetentionPeriod()
How long, in days, message data is kept for the data store.
|
List<Tag> |
getTags()
Metadata which can be used to manage the data store.
|
int |
hashCode() |
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.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the data store.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatastoreRequest |
withDatastoreName(String datastoreName)
The name of the data store.
|
CreateDatastoreRequest |
withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store.
|
CreateDatastoreRequest |
withTags(Collection<Tag> tags)
Metadata which can be used to manage the data store.
|
CreateDatastoreRequest |
withTags(Tag... tags)
Metadata which can be used to manage the data store.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreateDatastoreRequest withDatastoreName(String datastoreName)
The name of the data store.
datastoreName
- The name 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 CreateDatastoreRequest 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 List<Tag> getTags()
Metadata which can be used to manage the data store.
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage the data store.
tags
- Metadata which can be used to manage the data store.public CreateDatastoreRequest withTags(Tag... tags)
Metadata which can be used to manage the data store.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Metadata which can be used to manage the data store.public CreateDatastoreRequest withTags(Collection<Tag> tags)
Metadata which can be used to manage the data store.
tags
- Metadata which can be used to manage the data store.public String toString()
toString
in class Object
Object.toString()
public CreateDatastoreRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.