@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dataset extends Object implements Serializable, Cloneable, StructuredPojo
Information about a dataset.
Constructor and Description |
---|
Dataset() |
Modifier and Type | Method and Description |
---|---|
Dataset |
clone() |
boolean |
equals(Object obj) |
List<DatasetAction> |
getActions()
The
DatasetAction objects that automatically create the dataset contents. |
String |
getArn()
The ARN of the dataset.
|
List<DatasetContentDeliveryRule> |
getContentDeliveryRules()
When dataset contents are created they are delivered to destinations specified here.
|
Date |
getCreationTime()
When the dataset was created.
|
Date |
getLastUpdateTime()
The last time the dataset was updated.
|
List<LateDataRule> |
getLateDataRules()
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
String |
getName()
The name of the dataset.
|
RetentionPeriod |
getRetentionPeriod()
Optional.
|
String |
getStatus()
The status of the dataset.
|
List<DatasetTrigger> |
getTriggers()
The
DatasetTrigger objects that specify when the dataset is automatically updated. |
VersioningConfiguration |
getVersioningConfiguration()
Optional.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActions(Collection<DatasetAction> actions)
The
DatasetAction objects that automatically create the dataset contents. |
void |
setArn(String arn)
The ARN of the dataset.
|
void |
setContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When dataset contents are created they are delivered to destinations specified here.
|
void |
setCreationTime(Date creationTime)
When the dataset was created.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The last time the dataset was updated.
|
void |
setLateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
void |
setName(String name)
The name of the dataset.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
Optional.
|
void |
setStatus(String status)
The status of the dataset.
|
void |
setTriggers(Collection<DatasetTrigger> triggers)
The
DatasetTrigger objects that specify when the dataset is automatically updated. |
void |
setVersioningConfiguration(VersioningConfiguration versioningConfiguration)
Optional.
|
String |
toString()
Returns a string representation of this object.
|
Dataset |
withActions(Collection<DatasetAction> actions)
The
DatasetAction objects that automatically create the dataset contents. |
Dataset |
withActions(DatasetAction... actions)
The
DatasetAction objects that automatically create the dataset contents. |
Dataset |
withArn(String arn)
The ARN of the dataset.
|
Dataset |
withContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When dataset contents are created they are delivered to destinations specified here.
|
Dataset |
withContentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
When dataset contents are created they are delivered to destinations specified here.
|
Dataset |
withCreationTime(Date creationTime)
When the dataset was created.
|
Dataset |
withLastUpdateTime(Date lastUpdateTime)
The last time the dataset was updated.
|
Dataset |
withLateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
Dataset |
withLateDataRules(LateDataRule... lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
Dataset |
withName(String name)
The name of the dataset.
|
Dataset |
withRetentionPeriod(RetentionPeriod retentionPeriod)
Optional.
|
Dataset |
withStatus(DatasetStatus status)
The status of the dataset.
|
Dataset |
withStatus(String status)
The status of the dataset.
|
Dataset |
withTriggers(Collection<DatasetTrigger> triggers)
The
DatasetTrigger objects that specify when the dataset is automatically updated. |
Dataset |
withTriggers(DatasetTrigger... triggers)
The
DatasetTrigger objects that specify when the dataset is automatically updated. |
Dataset |
withVersioningConfiguration(VersioningConfiguration versioningConfiguration)
Optional.
|
public void setName(String name)
The name of the dataset.
name
- The name of the dataset.public String getName()
The name of the dataset.
public Dataset withName(String name)
The name of the dataset.
name
- The name of the dataset.public void setArn(String arn)
The ARN of the dataset.
arn
- The ARN of the dataset.public String getArn()
The ARN of the dataset.
public Dataset withArn(String arn)
The ARN of the dataset.
arn
- The ARN of the dataset.public List<DatasetAction> getActions()
The DatasetAction
objects that automatically create the dataset contents.
DatasetAction
objects that automatically create the dataset contents.public void setActions(Collection<DatasetAction> actions)
The DatasetAction
objects that automatically create the dataset contents.
actions
- The DatasetAction
objects that automatically create the dataset contents.public Dataset withActions(DatasetAction... actions)
The DatasetAction
objects that automatically create the dataset 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
- The DatasetAction
objects that automatically create the dataset contents.public Dataset withActions(Collection<DatasetAction> actions)
The DatasetAction
objects that automatically create the dataset contents.
actions
- The DatasetAction
objects that automatically create the dataset contents.public List<DatasetTrigger> getTriggers()
The DatasetTrigger
objects that specify when the dataset is automatically updated.
DatasetTrigger
objects that specify when the dataset is automatically updated.public void setTriggers(Collection<DatasetTrigger> triggers)
The DatasetTrigger
objects that specify when the dataset is automatically updated.
triggers
- The DatasetTrigger
objects that specify when the dataset is automatically updated.public Dataset withTriggers(DatasetTrigger... triggers)
The DatasetTrigger
objects that specify when the dataset is automatically updated.
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
- The DatasetTrigger
objects that specify when the dataset is automatically updated.public Dataset withTriggers(Collection<DatasetTrigger> triggers)
The DatasetTrigger
objects that specify when the dataset is automatically updated.
triggers
- The DatasetTrigger
objects that specify when the dataset is automatically updated.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 Dataset 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 Dataset 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 setStatus(String status)
The status of the dataset.
status
- The status of the dataset.DatasetStatus
public String getStatus()
The status of the dataset.
DatasetStatus
public Dataset withStatus(String status)
The status of the dataset.
status
- The status of the dataset.DatasetStatus
public Dataset withStatus(DatasetStatus status)
The status of the dataset.
status
- The status of the dataset.DatasetStatus
public void setCreationTime(Date creationTime)
When the dataset was created.
creationTime
- When the dataset was created.public Date getCreationTime()
When the dataset was created.
public Dataset withCreationTime(Date creationTime)
When the dataset was created.
creationTime
- When the dataset was created.public void setLastUpdateTime(Date lastUpdateTime)
The last time the dataset was updated.
lastUpdateTime
- The last time the dataset was updated.public Date getLastUpdateTime()
The last time the dataset was updated.
public Dataset withLastUpdateTime(Date lastUpdateTime)
The last time the dataset was updated.
lastUpdateTime
- The last time the dataset was updated.public void setRetentionPeriod(RetentionPeriod retentionPeriod)
Optional. How long, in days, message data is kept for the dataset.
retentionPeriod
- Optional. How long, in days, message data is kept for the dataset.public RetentionPeriod getRetentionPeriod()
Optional. How long, in days, message data is kept for the dataset.
public Dataset withRetentionPeriod(RetentionPeriod retentionPeriod)
Optional. How long, in days, message data is kept for the dataset.
retentionPeriod
- Optional. How long, in days, message data is 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 Dataset 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 Dataset 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 Dataset 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.