@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) |
String |
getClientRequestToken()
A unique identifier for the request.
|
String |
getDatasetName()
Name of the dataset.
|
String |
getDatasetType()
The dataset type.
|
String |
getDescription()
Description of the dataset.
|
String |
getFlywheelArn()
The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.
|
DatasetInputDataConfig |
getInputDataConfig()
Information about the input data configuration.
|
List<Tag> |
getTags()
Tags for the dataset.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique identifier for the request.
|
void |
setDatasetName(String datasetName)
Name of the dataset.
|
void |
setDatasetType(String datasetType)
The dataset type.
|
void |
setDescription(String description)
Description of the dataset.
|
void |
setFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.
|
void |
setInputDataConfig(DatasetInputDataConfig inputDataConfig)
Information about the input data configuration.
|
void |
setTags(Collection<Tag> tags)
Tags for the dataset.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatasetRequest |
withClientRequestToken(String clientRequestToken)
A unique identifier for the request.
|
CreateDatasetRequest |
withDatasetName(String datasetName)
Name of the dataset.
|
CreateDatasetRequest |
withDatasetType(DatasetType datasetType)
The dataset type.
|
CreateDatasetRequest |
withDatasetType(String datasetType)
The dataset type.
|
CreateDatasetRequest |
withDescription(String description)
Description of the dataset.
|
CreateDatasetRequest |
withFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.
|
CreateDatasetRequest |
withInputDataConfig(DatasetInputDataConfig inputDataConfig)
Information about the input data configuration.
|
CreateDatasetRequest |
withTags(Collection<Tag> tags)
Tags for the dataset.
|
CreateDatasetRequest |
withTags(Tag... tags)
Tags for the dataset.
|
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 setFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.
flywheelArn
- The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.public String getFlywheelArn()
The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.
public CreateDatasetRequest withFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.
flywheelArn
- The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.public void setDatasetName(String datasetName)
Name of the dataset.
datasetName
- Name of the dataset.public String getDatasetName()
Name of the dataset.
public CreateDatasetRequest withDatasetName(String datasetName)
Name of the dataset.
datasetName
- Name of the dataset.public void setDatasetType(String datasetType)
The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.
datasetType
- The dataset type. You can specify that the data in a dataset is for training the model or for testing the
model.DatasetType
public String getDatasetType()
The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.
DatasetType
public CreateDatasetRequest withDatasetType(String datasetType)
The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.
datasetType
- The dataset type. You can specify that the data in a dataset is for training the model or for testing the
model.DatasetType
public CreateDatasetRequest withDatasetType(DatasetType datasetType)
The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.
datasetType
- The dataset type. You can specify that the data in a dataset is for training the model or for testing the
model.DatasetType
public void setDescription(String description)
Description of the dataset.
description
- Description of the dataset.public String getDescription()
Description of the dataset.
public CreateDatasetRequest withDescription(String description)
Description of the dataset.
description
- Description of the dataset.public void setInputDataConfig(DatasetInputDataConfig inputDataConfig)
Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model.
inputDataConfig
- Information about the input data configuration. The type of input data varies based on the format of the
input and whether the data is for a classifier model or an entity recognition model.public DatasetInputDataConfig getInputDataConfig()
Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model.
public CreateDatasetRequest withInputDataConfig(DatasetInputDataConfig inputDataConfig)
Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model.
inputDataConfig
- Information about the input data configuration. The type of input data varies based on the format of the
input and whether the data is for a classifier model or an entity recognition model.public void setClientRequestToken(String clientRequestToken)
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
clientRequestToken
- A unique identifier for the request. If you don't set the client request token, Amazon Comprehend
generates one.public String getClientRequestToken()
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
public CreateDatasetRequest withClientRequestToken(String clientRequestToken)
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
clientRequestToken
- A unique identifier for the request. If you don't set the client request token, Amazon Comprehend
generates one.public void setTags(Collection<Tag> tags)
Tags for the dataset.
tags
- Tags for the dataset.public CreateDatasetRequest withTags(Tag... tags)
Tags for the dataset.
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
- Tags for the dataset.public CreateDatasetRequest withTags(Collection<Tag> tags)
Tags for the dataset.
tags
- Tags for the dataset.public String toString()
toString
in class Object
Object.toString()
public CreateDatasetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()