@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatasetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateDatasetRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateDatasetRequest | 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 actions that create the data set contents. | 
| List<DatasetContentDeliveryRule> | getContentDeliveryRules()
 When data set contents are created they are delivered to destinations specified here. | 
| String | getDatasetName()
 The name of the data set. | 
| RetentionPeriod | getRetentionPeriod()
 [Optional] How long, in days, message data is kept for the data set. | 
| List<Tag> | getTags()
 Metadata which can be used to manage the data set. | 
| List<DatasetTrigger> | getTriggers()
 A list of triggers. | 
| int | hashCode() | 
| void | setActions(Collection<DatasetAction> actions)
 A list of actions that create the data set contents. | 
| 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. | 
| void | setRetentionPeriod(RetentionPeriod retentionPeriod)
 [Optional] How long, in days, message data is kept for the data set. | 
| void | setTags(Collection<Tag> tags)
 Metadata which can be used to manage the data set. | 
| void | setTriggers(Collection<DatasetTrigger> triggers)
 A list of triggers. | 
| String | toString()Returns a string representation of this object. | 
| CreateDatasetRequest | withActions(Collection<DatasetAction> actions)
 A list of actions that create the data set contents. | 
| CreateDatasetRequest | withActions(DatasetAction... actions)
 A list of actions that create the data set contents. | 
| CreateDatasetRequest | withContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
 When data set contents are created they are delivered to destinations specified here. | 
| CreateDatasetRequest | withContentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
 When data set contents are created they are delivered to destinations specified here. | 
| CreateDatasetRequest | withDatasetName(String datasetName)
 The name of the data set. | 
| CreateDatasetRequest | withRetentionPeriod(RetentionPeriod retentionPeriod)
 [Optional] How long, in days, message data is kept for the data set. | 
| CreateDatasetRequest | withTags(Collection<Tag> tags)
 Metadata which can be used to manage the data set. | 
| CreateDatasetRequest | withTags(Tag... tags)
 Metadata which can be used to manage the data set. | 
| CreateDatasetRequest | withTriggers(Collection<DatasetTrigger> triggers)
 A list of triggers. | 
| CreateDatasetRequest | withTriggers(DatasetTrigger... triggers)
 A list of triggers. | 
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, withSdkRequestTimeoutpublic void setDatasetName(String datasetName)
The name of the data set.
datasetName - The name of the data set.public String getDatasetName()
The name of the data set.
public CreateDatasetRequest withDatasetName(String datasetName)
The name of the data set.
datasetName - The name of the data set.public List<DatasetAction> getActions()
A list of actions that create the data set contents.
public void setActions(Collection<DatasetAction> actions)
A list of actions that create the data set contents.
actions - A list of actions that create the data set contents.public CreateDatasetRequest withActions(DatasetAction... actions)
A list of actions that 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 - A list of actions that create the data set contents.public CreateDatasetRequest withActions(Collection<DatasetAction> actions)
A list of actions that create the data set contents.
actions - A list of actions that create the data set contents.public List<DatasetTrigger> getTriggers()
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when another data set's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
public void setTriggers(Collection<DatasetTrigger> triggers)
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when another data set's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
triggers - A list of triggers. A trigger causes data set contents to be populated at a specified time interval or
        when another data set's contents are created. The list of triggers can be empty or contain up to five
        DataSetTrigger objects.public CreateDatasetRequest withTriggers(DatasetTrigger... triggers)
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when another data set's contents are created. The list of triggers can be empty or 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 triggers. A trigger causes data set contents to be populated at a specified time interval or
        when another data set's contents are created. The list of triggers can be empty or contain up to five
        DataSetTrigger objects.public CreateDatasetRequest withTriggers(Collection<DatasetTrigger> triggers)
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when another data set's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
triggers - A list of triggers. A trigger causes data set contents to be populated at a specified time interval or
        when another data set's contents are created. The list of triggers can be empty or 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 CreateDatasetRequest 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 CreateDatasetRequest 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)
[Optional] How long, in days, message data is kept for the data set. If not given or set to null, the latest version of the dataset content plus the latest succeeded version (if they are different) are retained for at most 90 days.
retentionPeriod - [Optional] How long, in days, message data is kept for the data set. If not given or set to null, the
        latest version of the dataset content plus the latest succeeded version (if they are different) are
        retained for at most 90 days.public RetentionPeriod getRetentionPeriod()
[Optional] How long, in days, message data is kept for the data set. If not given or set to null, the latest version of the dataset content plus the latest succeeded version (if they are different) are retained for at most 90 days.
public CreateDatasetRequest withRetentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, message data is kept for the data set. If not given or set to null, the latest version of the dataset content plus the latest succeeded version (if they are different) are retained for at most 90 days.
retentionPeriod - [Optional] How long, in days, message data is kept for the data set. If not given or set to null, the
        latest version of the dataset content plus the latest succeeded version (if they are different) are
        retained for at most 90 days.public List<Tag> getTags()
Metadata which can be used to manage the data set.
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage the data set.
tags - Metadata which can be used to manage the data set.public CreateDatasetRequest withTags(Tag... tags)
Metadata which can be used to manage the data set.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - Metadata which can be used to manage the data set.public CreateDatasetRequest withTags(Collection<Tag> tags)
Metadata which can be used to manage the data set.
tags - Metadata which can be used to manage the data set.public String toString()
toString in class ObjectObject.toString()public CreateDatasetRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.