@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.
|
String |
getDatasetName()
The name of 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.
|
void |
setDatasetName(String datasetName)
The name of the data set.
|
void |
setTriggers(Collection<DatasetTrigger> triggers)
A list of triggers.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDatasetRequest |
withActions(Collection<DatasetAction> actions)
A list of actions that create the data set.
|
CreateDatasetRequest |
withActions(DatasetAction... actions)
A list of actions that create the data set.
|
CreateDatasetRequest |
withDatasetName(String datasetName)
The name of 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. Only one action is supported at this time.
public void setActions(Collection<DatasetAction> actions)
A list of actions that create the data set. Only one action is supported at this time.
actions
- A list of actions that create the data set. Only one action is supported at this time.public CreateDatasetRequest withActions(DatasetAction... actions)
A list of actions that create the data set. Only one action is supported at this time.
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. Only one action is supported at this time.public CreateDatasetRequest withActions(Collection<DatasetAction> actions)
A list of actions that create the data set. Only one action is supported at this time.
actions
- A list of actions that create the data set. Only one action is supported at this time.public List<DatasetTrigger> getTriggers()
A list of triggers. A trigger causes data set content to be populated at a specified time or time interval. 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 content to be populated at a specified time or time interval. The list of triggers can be empty or contain up to five DataSetTrigger objects.
triggers
- A list of triggers. A trigger causes data set content to be populated at a specified time or time
interval. 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 content to be populated at a specified time or time interval. 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 content to be populated at a specified time or time
interval. 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 content to be populated at a specified time or time interval. The list of triggers can be empty or contain up to five DataSetTrigger objects.
triggers
- A list of triggers. A trigger causes data set content to be populated at a specified time or time
interval. The list of triggers can be empty or contain up to five DataSetTrigger objects.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.