@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.
|
FileFormatConfiguration |
getFileFormatConfiguration()
Contains the configuration information of file formats.
|
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 |
setFileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats.
|
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 |
withFileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats.
|
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 can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default isserviceManagedS3
. You cannot
change this storage option after the data store is created.
datastoreStorage
- Where data store data is stored. You can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default isserviceManagedS3
. You
cannot change this storage option after the data store is created.public DatastoreStorage getDatastoreStorage()
Where data store data is stored. You can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default isserviceManagedS3
. You cannot
change this storage option after the data store is created.
serviceManagedS3
or
customerManagedS3
storage. If not specified, the default isserviceManagedS3
.
You cannot change this storage option after the data store is created.public UpdateDatastoreRequest withDatastoreStorage(DatastoreStorage datastoreStorage)
Where data store data is stored. You can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default isserviceManagedS3
. You cannot
change this storage option after the data store is created.
datastoreStorage
- Where data store data is stored. You can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default isserviceManagedS3
. You
cannot change this storage option after the data store is created.public void setFileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
fileFormatConfiguration
- Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
public FileFormatConfiguration getFileFormatConfiguration()
Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
public UpdateDatastoreRequest withFileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
fileFormatConfiguration
- Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
public String toString()
toString
in class Object
Object.toString()
public UpdateDatastoreRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()