@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatasetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDatasetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDatasetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<DatasetAction> |
getActions()
A list of actions that create the data set contents.
|
List<DatasetContentDeliveryRule> |
getContentDeliveryRules()
When data set contents are created they are delivered to destinations specified here.
|
String |
getDatasetName()
The name of the data set.
|
RetentionPeriod |
getRetentionPeriod()
[Optional] How long, in days, versions of data set contents are kept for the data set.
|
List<Tag> |
getTags()
Metadata which can be used to manage the data set.
|
List<DatasetTrigger> |
getTriggers()
A list of triggers.
|
VersioningConfiguration |
getVersioningConfiguration()
[Optional] How many versions of data set contents are kept.
|
int |
hashCode() |
void |
setActions(Collection<DatasetAction> actions)
A list of actions that create the data set contents.
|
void |
setContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When data set contents are created they are delivered to destinations specified here.
|
void |
setDatasetName(String datasetName)
The name of the data set.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, versions of data set contents are kept for the data set.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the data set.
|
void |
setTriggers(Collection<DatasetTrigger> triggers)
A list of triggers.
|
void |
setVersioningConfiguration(VersioningConfiguration versioningConfiguration)
[Optional] How many versions of data set contents are kept.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatasetRequest |
withActions(Collection<DatasetAction> actions)
A list of actions that create the data set contents.
|
CreateDatasetRequest |
withActions(DatasetAction... actions)
A list of actions that create the data set contents.
|
CreateDatasetRequest |
withContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When data set contents are created they are delivered to destinations specified here.
|
CreateDatasetRequest |
withContentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
When data set contents are created they are delivered to destinations specified here.
|
CreateDatasetRequest |
withDatasetName(String datasetName)
The name of the data set.
|
CreateDatasetRequest |
withRetentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, versions of data set contents are kept for the data set.
|
CreateDatasetRequest |
withTags(Collection<Tag> tags)
Metadata which can be used to manage the data set.
|
CreateDatasetRequest |
withTags(Tag... tags)
Metadata which can be used to manage the data set.
|
CreateDatasetRequest |
withTriggers(Collection<DatasetTrigger> triggers)
A list of triggers.
|
CreateDatasetRequest |
withTriggers(DatasetTrigger... triggers)
A list of triggers.
|
CreateDatasetRequest |
withVersioningConfiguration(VersioningConfiguration versioningConfiguration)
[Optional] How many versions of data set contents are kept.
|
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 setDatasetName(String datasetName)
The name of the data set.
datasetName
- The name of the data set.public String getDatasetName()
The name of the data set.
public CreateDatasetRequest withDatasetName(String datasetName)
The name of the data set.
datasetName
- The name of the data set.public List<DatasetAction> getActions()
A list of actions that create the data set contents.
public void setActions(Collection<DatasetAction> actions)
A list of actions that create the data set contents.
actions
- A list of actions that create the data set contents.public CreateDatasetRequest withActions(DatasetAction... actions)
A list of actions that create the data set contents.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection)
or withActions(java.util.Collection)
if you want to override
the existing values.
actions
- A list of actions that create the data set contents.public CreateDatasetRequest withActions(Collection<DatasetAction> actions)
A list of actions that create the data set contents.
actions
- A list of actions that create the data set contents.public List<DatasetTrigger> getTriggers()
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when another data set's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
public void setTriggers(Collection<DatasetTrigger> triggers)
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when another data set's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
triggers
- A list of triggers. A trigger causes data set contents to be populated at a specified time interval or
when another data set's contents are created. The list of triggers can be empty or contain up to five
DataSetTrigger objects.public CreateDatasetRequest withTriggers(DatasetTrigger... triggers)
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when another data set's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
NOTE: This method appends the values to the existing list (if any). Use
setTriggers(java.util.Collection)
or withTriggers(java.util.Collection)
if you want to override
the existing values.
triggers
- A list of triggers. A trigger causes data set contents to be populated at a specified time interval or
when another data set's contents are created. The list of triggers can be empty or contain up to five
DataSetTrigger objects.public CreateDatasetRequest withTriggers(Collection<DatasetTrigger> triggers)
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when another data set's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
triggers
- A list of triggers. A trigger causes data set contents to be populated at a specified time interval or
when another data set's contents are created. The list of triggers can be empty or contain up to five
DataSetTrigger objects.public List<DatasetContentDeliveryRule> getContentDeliveryRules()
When data set contents are created they are delivered to destinations specified here.
public void setContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When data set contents are created they are delivered to destinations specified here.
contentDeliveryRules
- When data set contents are created they are delivered to destinations specified here.public CreateDatasetRequest withContentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
When data set contents are created they are delivered to destinations specified here.
NOTE: This method appends the values to the existing list (if any). Use
setContentDeliveryRules(java.util.Collection)
or withContentDeliveryRules(java.util.Collection)
if you want to override the existing values.
contentDeliveryRules
- When data set contents are created they are delivered to destinations specified here.public CreateDatasetRequest withContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When data set contents are created they are delivered to destinations specified here.
contentDeliveryRules
- When data set contents are created they are delivered to destinations specified here.public void setRetentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, versions of data set contents are kept for the data set. If not specified or set to
null, versions of data set contents are retained for at most 90 days. The number of versions of data set contents
retained is determined by the versioningConfiguration
parameter. (For more information, see
https://docs
.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)
retentionPeriod
- [Optional] How long, in days, versions of data set contents are kept for the data set. If not specified or
set to null, versions of data set contents are retained for at most 90 days. The number of versions of
data set contents retained is determined by the versioningConfiguration
parameter. (For more
information, see
https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics
-dataset-versions)public RetentionPeriod getRetentionPeriod()
[Optional] How long, in days, versions of data set contents are kept for the data set. If not specified or set to
null, versions of data set contents are retained for at most 90 days. The number of versions of data set contents
retained is determined by the versioningConfiguration
parameter. (For more information, see
https://docs
.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)
versioningConfiguration
parameter. (For more
information, see
https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics
-dataset-versions)public CreateDatasetRequest withRetentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, versions of data set contents are kept for the data set. If not specified or set to
null, versions of data set contents are retained for at most 90 days. The number of versions of data set contents
retained is determined by the versioningConfiguration
parameter. (For more information, see
https://docs
.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)
retentionPeriod
- [Optional] How long, in days, versions of data set contents are kept for the data set. If not specified or
set to null, versions of data set contents are retained for at most 90 days. The number of versions of
data set contents retained is determined by the versioningConfiguration
parameter. (For more
information, see
https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics
-dataset-versions)public void setVersioningConfiguration(VersioningConfiguration versioningConfiguration)
[Optional] How many versions of data set contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by the "retentionPeriod" parameter. (For more information, see https://docs.aws.amazon.com/iotanalytics/latest/userguide/ getting-started.html#aws-iot-analytics-dataset-versions)
versioningConfiguration
- [Optional] How many versions of data set contents are kept. If not specified or set to null, only the
latest version plus the latest succeeded version (if they are different) are kept for the time period
specified by the "retentionPeriod" parameter. (For more information, see
https://docs.aws.amazon.com/iotanalytics
/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)public VersioningConfiguration getVersioningConfiguration()
[Optional] How many versions of data set contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by the "retentionPeriod" parameter. (For more information, see https://docs.aws.amazon.com/iotanalytics/latest/userguide/ getting-started.html#aws-iot-analytics-dataset-versions)
public CreateDatasetRequest withVersioningConfiguration(VersioningConfiguration versioningConfiguration)
[Optional] How many versions of data set contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by the "retentionPeriod" parameter. (For more information, see https://docs.aws.amazon.com/iotanalytics/latest/userguide/ getting-started.html#aws-iot-analytics-dataset-versions)
versioningConfiguration
- [Optional] How many versions of data set contents are kept. If not specified or set to null, only the
latest version plus the latest succeeded version (if they are different) are kept for the time period
specified by the "retentionPeriod" parameter. (For more information, see
https://docs.aws.amazon.com/iotanalytics
/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)public List<Tag> getTags()
Metadata which can be used to manage the data set.
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage the data set.
tags
- Metadata which can be used to manage the data set.public CreateDatasetRequest withTags(Tag... tags)
Metadata which can be used to manage the data set.
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 set.public CreateDatasetRequest withTags(Collection<Tag> tags)
Metadata which can be used to manage the data set.
tags
- Metadata which can be used to manage the data set.public String toString()
toString
in class Object
Object.toString()
public CreateDatasetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.