@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDatastoreRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDatastoreRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDatastoreRequest |
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 to be updated.
|
DatastoreStorage |
getDatastoreStorage()
Where data store data is stored.
|
RetentionPeriod |
getRetentionPeriod()
How long, in days, message data is kept for the data store.
|
int |
hashCode() |
void |
setDatastoreName(String datastoreName)
The name of the data store to be updated.
|
void |
setDatastoreStorage(DatastoreStorage datastoreStorage)
Where data store data is stored.
|
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.
|
UpdateDatastoreRequest |
withDatastoreName(String datastoreName)
The name of the data store to be updated.
|
UpdateDatastoreRequest |
withDatastoreStorage(DatastoreStorage datastoreStorage)
Where data store data is stored.
|
UpdateDatastoreRequest |
withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for 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 to be updated.
datastoreName
- The name of the data store to be updated.public String getDatastoreName()
The name of the data store to be updated.
public UpdateDatastoreRequest withDatastoreName(String datastoreName)
The name of the data store to be updated.
datastoreName
- The name of the data store to be updated.public void setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store. The retention period cannot be updated if the data store's S3 storage is customer-managed.
retentionPeriod
- How long, in days, message data is kept for the data store. The retention period cannot be updated if the
data store's S3 storage is customer-managed.public RetentionPeriod getRetentionPeriod()
How long, in days, message data is kept for the data store. The retention period cannot be updated if the data store's S3 storage is customer-managed.
public UpdateDatastoreRequest withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store. The retention period cannot be updated if the data store's S3 storage is customer-managed.
retentionPeriod
- How long, in days, message data is kept for the data store. The retention period cannot be updated if the
data store's S3 storage is customer-managed.public void setDatastoreStorage(DatastoreStorage datastoreStorage)
Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data store is created.
datastoreStorage
- Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage.
If not specified, the default is "serviceManagedS3". This cannot be changed after the data store is
created.public DatastoreStorage getDatastoreStorage()
Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data store is created.
public UpdateDatastoreRequest withDatastoreStorage(DatastoreStorage datastoreStorage)
Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data store is created.
datastoreStorage
- Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage.
If not specified, the default is "serviceManagedS3". This cannot be changed after the data store is
created.public String toString()
toString
in class Object
Object.toString()
public UpdateDatastoreRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.