@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dataset extends Object implements Serializable, Cloneable, StructuredPojo
Information about a data set.
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 data set contents. |
String |
getArn()
The ARN of the data set.
|
List<DatasetContentDeliveryRule> |
getContentDeliveryRules()
When dataset contents are created they are delivered to destinations specified here.
|
Date |
getCreationTime()
When the data set was created.
|
Date |
getLastUpdateTime()
The last time the data set was updated.
|
List<LateDataRule> |
getLateDataRules()
A list of data rules that send notifications to Amazon CloudWatch, when data arrives late.
|
String |
getName()
The name of the data set.
|
RetentionPeriod |
getRetentionPeriod()
Optional.
|
String |
getStatus()
The status of the data set.
|
List<DatasetTrigger> |
getTriggers()
The
DatasetTrigger objects that specify when the data set 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 data set contents. |
void |
setArn(String arn)
The ARN of the data set.
|
void |
setContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When dataset contents are created they are delivered to destinations specified here.
|
void |
setCreationTime(Date creationTime)
When the data set was created.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The last time the data set was updated.
|
void |
setLateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to Amazon CloudWatch, when data arrives late.
|
void |
setName(String name)
The name of the data set.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
Optional.
|
void |
setStatus(String status)
The status of the data set.
|
void |
setTriggers(Collection<DatasetTrigger> triggers)
The
DatasetTrigger objects that specify when the data set 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 data set contents. |
Dataset |
withActions(DatasetAction... actions)
The
DatasetAction objects that automatically create the data set contents. |
Dataset |
withArn(String arn)
The ARN of the data set.
|
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 data set was created.
|
Dataset |
withLastUpdateTime(Date lastUpdateTime)
The last time the data set was updated.
|
Dataset |
withLateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to Amazon CloudWatch, when data arrives late.
|
Dataset |
withLateDataRules(LateDataRule... lateDataRules)
A list of data rules that send notifications to Amazon CloudWatch, when data arrives late.
|
Dataset |
withName(String name)
The name of the data set.
|
Dataset |
withRetentionPeriod(RetentionPeriod retentionPeriod)
Optional.
|
Dataset |
withStatus(DatasetStatus status)
The status of the data set.
|
Dataset |
withStatus(String status)
The status of the data set.
|
Dataset |
withTriggers(Collection<DatasetTrigger> triggers)
The
DatasetTrigger objects that specify when the data set is automatically updated. |
Dataset |
withTriggers(DatasetTrigger... triggers)
The
DatasetTrigger objects that specify when the data set is automatically updated. |
Dataset |
withVersioningConfiguration(VersioningConfiguration versioningConfiguration)
Optional.
|
public void setName(String name)
The name of the data set.
name
- The name of the data set.public String getName()
The name of the data set.
public Dataset withName(String name)
The name of the data set.
name
- The name of the data set.public void setArn(String arn)
The ARN of the data set.
arn
- The ARN of the data set.public String getArn()
The ARN of the data set.
public Dataset withArn(String arn)
The ARN of the data set.
arn
- The ARN of the data set.public List<DatasetAction> getActions()
The DatasetAction
objects that automatically create the data set contents.
DatasetAction
objects that automatically create the data set contents.public void setActions(Collection<DatasetAction> actions)
The DatasetAction
objects that automatically create the data set contents.
actions
- The DatasetAction
objects that automatically create the data set contents.public Dataset withActions(DatasetAction... actions)
The DatasetAction
objects that automatically 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
- The DatasetAction
objects that automatically create the data set contents.public Dataset withActions(Collection<DatasetAction> actions)
The DatasetAction
objects that automatically create the data set contents.
actions
- The DatasetAction
objects that automatically create the data set contents.public List<DatasetTrigger> getTriggers()
The DatasetTrigger
objects that specify when the data set is automatically updated.
DatasetTrigger
objects that specify when the data set is automatically updated.public void setTriggers(Collection<DatasetTrigger> triggers)
The DatasetTrigger
objects that specify when the data set is automatically updated.
triggers
- The DatasetTrigger
objects that specify when the data set is automatically updated.public Dataset withTriggers(DatasetTrigger... triggers)
The DatasetTrigger
objects that specify when the data set 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 data set is automatically updated.public Dataset withTriggers(Collection<DatasetTrigger> triggers)
The DatasetTrigger
objects that specify when the data set is automatically updated.
triggers
- The DatasetTrigger
objects that specify when the data set 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 data set.
status
- The status of the data set.DatasetStatus
public String getStatus()
The status of the data set.
DatasetStatus
public Dataset withStatus(String status)
The status of the data set.
status
- The status of the data set.DatasetStatus
public Dataset withStatus(DatasetStatus status)
The status of the data set.
status
- The status of the data set.DatasetStatus
public void setCreationTime(Date creationTime)
When the data set was created.
creationTime
- When the data set was created.public Date getCreationTime()
When the data set was created.
public Dataset withCreationTime(Date creationTime)
When the data set was created.
creationTime
- When the data set was created.public void setLastUpdateTime(Date lastUpdateTime)
The last time the data set was updated.
lastUpdateTime
- The last time the data set was updated.public Date getLastUpdateTime()
The last time the data set was updated.
public Dataset withLastUpdateTime(Date lastUpdateTime)
The last time the data set was updated.
lastUpdateTime
- The last time the data set was updated.public void setRetentionPeriod(RetentionPeriod retentionPeriod)
Optional. How long, in days, message data is kept for the data set.
retentionPeriod
- Optional. How long, in days, message data is kept for the data set.public RetentionPeriod getRetentionPeriod()
Optional. How long, in days, message data is kept for the data set.
public Dataset withRetentionPeriod(RetentionPeriod retentionPeriod)
Optional. How long, in days, message data is kept for the data set.
retentionPeriod
- Optional. How long, in days, message data is kept for the data set.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 AWS IoT Analytics Data Sets in the AWS 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 AWS IoT Analytics Data Sets in the AWS 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 AWS IoT Analytics Data Sets in the AWS IoT Analytics User Guide.
retentionPeriod
parameter. For more information, see Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS 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 AWS IoT Analytics Data Sets in the AWS 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 AWS IoT Analytics Data Sets in the AWS IoT Analytics User Guide.public List<LateDataRule> getLateDataRules()
A list of data rules that send notifications to Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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.