@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDatasetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDatasetRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDatasetRequest |
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 "DatasetAction" objects.
|
List<DatasetContentDeliveryRule> |
getContentDeliveryRules()
When data set contents are created they are delivered to destinations specified here.
|
String |
getDatasetName()
The name of the data set to update.
|
RetentionPeriod |
getRetentionPeriod()
How long, in days, data set contents are kept for the data set.
|
List<DatasetTrigger> |
getTriggers()
A list of "DatasetTrigger" objects.
|
VersioningConfiguration |
getVersioningConfiguration()
[Optional] How many versions of data set contents are kept.
|
int |
hashCode() |
void |
setActions(Collection<DatasetAction> actions)
A list of "DatasetAction" objects.
|
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 to update.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, data set contents are kept for the data set.
|
void |
setTriggers(Collection<DatasetTrigger> triggers)
A list of "DatasetTrigger" objects.
|
void |
setVersioningConfiguration(VersioningConfiguration versioningConfiguration)
[Optional] How many versions of data set contents are kept.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDatasetRequest |
withActions(Collection<DatasetAction> actions)
A list of "DatasetAction" objects.
|
UpdateDatasetRequest |
withActions(DatasetAction... actions)
A list of "DatasetAction" objects.
|
UpdateDatasetRequest |
withContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When data set contents are created they are delivered to destinations specified here.
|
UpdateDatasetRequest |
withContentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
When data set contents are created they are delivered to destinations specified here.
|
UpdateDatasetRequest |
withDatasetName(String datasetName)
The name of the data set to update.
|
UpdateDatasetRequest |
withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, data set contents are kept for the data set.
|
UpdateDatasetRequest |
withTriggers(Collection<DatasetTrigger> triggers)
A list of "DatasetTrigger" objects.
|
UpdateDatasetRequest |
withTriggers(DatasetTrigger... triggers)
A list of "DatasetTrigger" objects.
|
UpdateDatasetRequest |
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 to update.
datasetName
- The name of the data set to update.public String getDatasetName()
The name of the data set to update.
public UpdateDatasetRequest withDatasetName(String datasetName)
The name of the data set to update.
datasetName
- The name of the data set to update.public List<DatasetAction> getActions()
A list of "DatasetAction" objects.
public void setActions(Collection<DatasetAction> actions)
A list of "DatasetAction" objects.
actions
- A list of "DatasetAction" objects.public UpdateDatasetRequest withActions(DatasetAction... actions)
A list of "DatasetAction" objects.
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 "DatasetAction" objects.public UpdateDatasetRequest withActions(Collection<DatasetAction> actions)
A list of "DatasetAction" objects.
actions
- A list of "DatasetAction" objects.public List<DatasetTrigger> getTriggers()
A list of "DatasetTrigger" objects. The list can be empty or can contain up to five DataSetTrigger objects.
public void setTriggers(Collection<DatasetTrigger> triggers)
A list of "DatasetTrigger" objects. The list can be empty or can contain up to five DataSetTrigger objects.
triggers
- A list of "DatasetTrigger" objects. The list can be empty or can contain up to five DataSetTrigger
objects.public UpdateDatasetRequest withTriggers(DatasetTrigger... triggers)
A list of "DatasetTrigger" objects. The list can be empty or can 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 "DatasetTrigger" objects. The list can be empty or can contain up to five DataSetTrigger
objects.public UpdateDatasetRequest withTriggers(Collection<DatasetTrigger> triggers)
A list of "DatasetTrigger" objects. The list can be empty or can contain up to five DataSetTrigger objects.
triggers
- A list of "DatasetTrigger" objects. The list can be empty or can 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 UpdateDatasetRequest 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 UpdateDatasetRequest 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)
How long, in days, data set contents are kept for the data set.
retentionPeriod
- How long, in days, data set contents are kept for the data set.public RetentionPeriod getRetentionPeriod()
How long, in days, data set contents are kept for the data set.
public UpdateDatasetRequest withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, data set contents are kept for the data set.
retentionPeriod
- How long, in days, data set contents are kept for the data set.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 UpdateDatasetRequest 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 String toString()
toString
in class Object
Object.toString()
public UpdateDatasetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.