@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 data set 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.
|
String |
getName()
The name of the data set.
|
RetentionPeriod |
getRetentionPeriod()
[Optional] How long, in days, message data is kept for the data set.
|
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] How many versions of data set contents are kept.
|
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 data set 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 |
setName(String name)
The name of the data set.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, message data is kept for the data set.
|
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] How many versions of data set contents are kept.
|
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 data set contents are created they are delivered to destinations specified here.
|
Dataset |
withContentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
When data set 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 |
withName(String name)
The name of the data set.
|
Dataset |
withRetentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, message data is kept for the data set.
|
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] How many versions of data set contents are kept.
|
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.
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.
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 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 Dataset 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 Dataset 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 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 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 Dataset 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.