@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.
|
DatastorePartitions |
getDatastorePartitions()
Contains information about the partition dimensions in a data store.
|
DatastoreStorage |
getDatastoreStorage()
Where data in a data store 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.
|
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 |
setDatastorePartitions(DatastorePartitions datastorePartitions)
Contains information about the partition dimensions in a data store.
|
void |
setDatastoreStorage(DatastoreStorage datastoreStorage)
Where data in a data store 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.
|
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 |
withDatastorePartitions(DatastorePartitions datastorePartitions)
Contains information about the partition dimensions in a data store.
|
CreateDatastoreRequest |
withDatastoreStorage(DatastoreStorage datastoreStorage)
Where data in a data store is stored..
|
CreateDatastoreRequest |
withFileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats.
|
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 setDatastoreStorage(DatastoreStorage datastoreStorage)
Where data in a data store is stored.. You can choose serviceManagedS3
storage,
customerManagedS3
storage, or iotSiteWiseMultiLayerStorage
storage. The default is
serviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store is created.
datastoreStorage
- Where data in a data store is stored.. You can choose serviceManagedS3
storage,
customerManagedS3
storage, or iotSiteWiseMultiLayerStorage
storage. The default
is serviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store
is created.public DatastoreStorage getDatastoreStorage()
Where data in a data store is stored.. You can choose serviceManagedS3
storage,
customerManagedS3
storage, or iotSiteWiseMultiLayerStorage
storage. The default is
serviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store is created.
serviceManagedS3
storage,
customerManagedS3
storage, or iotSiteWiseMultiLayerStorage
storage. The default
is serviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store
is created.public CreateDatastoreRequest withDatastoreStorage(DatastoreStorage datastoreStorage)
Where data in a data store is stored.. You can choose serviceManagedS3
storage,
customerManagedS3
storage, or iotSiteWiseMultiLayerStorage
storage. The default is
serviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store is created.
datastoreStorage
- Where data in a data store is stored.. You can choose serviceManagedS3
storage,
customerManagedS3
storage, or iotSiteWiseMultiLayerStorage
storage. The default
is serviceManagedS3
. You can't change the choice of Amazon S3 storage after your data store
is created.public void setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store. When customerManagedS3
storage is
selected, this parameter is ignored.
retentionPeriod
- How long, in days, message data is kept for the data store. When customerManagedS3
storage is
selected, this parameter is ignored.public RetentionPeriod getRetentionPeriod()
How long, in days, message data is kept for the data store. When customerManagedS3
storage is
selected, this parameter is ignored.
customerManagedS3
storage
is selected, this parameter is ignored.public CreateDatastoreRequest withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data store. When customerManagedS3
storage is
selected, this parameter is ignored.
retentionPeriod
- How long, in days, message data is kept for the data store. When customerManagedS3
storage is
selected, this parameter is ignored.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 void setFileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats. 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. 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. 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 CreateDatastoreRequest withFileFormatConfiguration(FileFormatConfiguration fileFormatConfiguration)
Contains the configuration information of file formats. 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. 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 void setDatastorePartitions(DatastorePartitions datastorePartitions)
Contains information about the partition dimensions in a data store.
datastorePartitions
- Contains information about the partition dimensions in a data store.public DatastorePartitions getDatastorePartitions()
Contains information about the partition dimensions in a data store.
public CreateDatastoreRequest withDatastorePartitions(DatastorePartitions datastorePartitions)
Contains information about the partition dimensions in a data store.
datastorePartitions
- Contains information about the partition dimensions in a data store.public String toString()
toString
in class Object
Object.toString()
public CreateDatastoreRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()