@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() |
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) |
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) |
CreateDatasetRequest |
withContentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
NOTE: This method appends the values to the existing list (if any).
|
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, withSdkRequestTimeout
public 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()
public void setContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
contentDeliveryRules
- public CreateDatasetRequest withContentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
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
- public CreateDatasetRequest withContentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
contentDeliveryRules
- 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 Object
Object.toString()
public CreateDatasetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.