@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.
|
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.
|
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 |
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.
|
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 |
withDatastoreStorage(DatastoreStorage datastoreStorage)
Where data store data 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 store data is stored. You can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default is serviceManagedS3
. 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 is serviceManagedS3
.
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 is serviceManagedS3
. You
cannot change this storage option after the data store is created.
serviceManagedS3
or
customerManagedS3
storage. If not specified, the default is serviceManagedS3
.
You cannot change this storage option after the data store is created.public CreateDatastoreRequest withDatastoreStorage(DatastoreStorage datastoreStorage)
Where data store data is stored. You can choose one of serviceManagedS3
or
customerManagedS3
storage. If not specified, the default is serviceManagedS3
. 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 is serviceManagedS3
.
You cannot change this storage option after the 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. 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 CreateDatastoreRequest 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 CreateDatastoreRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()