@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 dataset contents are created, they are delivered to destinations specified here.
|
String |
getDatasetName()
The name of the dataset to update.
|
List<LateDataRule> |
getLateDataRules()
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
RetentionPeriod |
getRetentionPeriod()
How long, in days, dataset contents are kept for the dataset.
|
List<DatasetTrigger> |
getTriggers()
A list of
DatasetTrigger objects. |
VersioningConfiguration |
getVersioningConfiguration()
Optional.
|
int |
hashCode() |
void |
setActions(Collection<DatasetAction> actions)
A list of
DatasetAction objects. |
void |
setContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When dataset contents are created, they are delivered to destinations specified here.
|
void |
setDatasetName(String datasetName)
The name of the dataset to update.
|
void |
setLateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, dataset contents are kept for the dataset.
|
void |
setTriggers(Collection<DatasetTrigger> triggers)
A list of
DatasetTrigger objects. |
void |
setVersioningConfiguration(VersioningConfiguration versioningConfiguration)
Optional.
|
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 dataset contents are created, they are delivered to destinations specified here.
|
UpdateDatasetRequest |
withContentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
When dataset contents are created, they are delivered to destinations specified here.
|
UpdateDatasetRequest |
withDatasetName(String datasetName)
The name of the dataset to update.
|
UpdateDatasetRequest |
withLateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
UpdateDatasetRequest |
withLateDataRules(LateDataRule... lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
UpdateDatasetRequest |
withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, dataset contents are kept for the dataset.
|
UpdateDatasetRequest |
withTriggers(Collection<DatasetTrigger> triggers)
A list of
DatasetTrigger objects. |
UpdateDatasetRequest |
withTriggers(DatasetTrigger... triggers)
A list of
DatasetTrigger objects. |
UpdateDatasetRequest |
withVersioningConfiguration(VersioningConfiguration versioningConfiguration)
Optional.
|
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 dataset to update.
datasetName
- The name of the dataset to update.public String getDatasetName()
The name of the dataset to update.
public UpdateDatasetRequest withDatasetName(String datasetName)
The name of the dataset to update.
datasetName
- The name of the dataset to update.public List<DatasetAction> getActions()
A list of DatasetAction
objects.
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.
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 dataset contents are created, they are delivered to destinations specified here.
public void setContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When dataset contents are created, they are delivered to destinations specified here.
contentDeliveryRules
- When dataset contents are created, they are delivered to destinations specified here.public UpdateDatasetRequest withContentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
When dataset 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 dataset contents are created, they are delivered to destinations specified here.public UpdateDatasetRequest withContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When dataset contents are created, they are delivered to destinations specified here.
contentDeliveryRules
- When dataset contents are created, they are delivered to destinations specified here.public void setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, dataset contents are kept for the dataset.
retentionPeriod
- How long, in days, dataset contents are kept for the dataset.public RetentionPeriod getRetentionPeriod()
How long, in days, dataset contents are kept for the dataset.
public UpdateDatasetRequest withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, dataset contents are kept for the dataset.
retentionPeriod
- How long, in days, dataset contents are kept for the dataset.public void setVersioningConfiguration(VersioningConfiguration versioningConfiguration)
Optional. How many versions of dataset 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 Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.
versioningConfiguration
- Optional. How many versions of dataset 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 Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.public VersioningConfiguration getVersioningConfiguration()
Optional. How many versions of dataset 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 Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.
retentionPeriod
parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.public UpdateDatasetRequest withVersioningConfiguration(VersioningConfiguration versioningConfiguration)
Optional. How many versions of dataset 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 Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.
versioningConfiguration
- Optional. How many versions of dataset 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 Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.public List<LateDataRule> getLateDataRules()
A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
lateDataRules
, the dataset must use a DeltaTimer filter.
lateDataRules
, the dataset must use a DeltaTimer
filter.public void setLateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
lateDataRules
, the dataset must use a DeltaTimer filter.
lateDataRules
- A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
lateDataRules
, the dataset must use a DeltaTimer
filter.public UpdateDatasetRequest withLateDataRules(LateDataRule... lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
lateDataRules
, the dataset must use a DeltaTimer filter.
NOTE: This method appends the values to the existing list (if any). Use
setLateDataRules(java.util.Collection)
or withLateDataRules(java.util.Collection)
if you want
to override the existing values.
lateDataRules
- A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
lateDataRules
, the dataset must use a DeltaTimer
filter.public UpdateDatasetRequest withLateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
lateDataRules
, the dataset must use a DeltaTimer filter.
lateDataRules
- A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
lateDataRules
, the dataset must use a DeltaTimer
filter.public String toString()
toString
in class Object
Object.toString()
public UpdateDatasetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()