@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateDatasetRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateDatasetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
DatasetSource |
getDatasetSource()
The source files for the dataset.
|
String |
getDatasetType()
The type of the dataset.
|
String |
getProjectArn()
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
|
Map<String,String> |
getTags()
A set of tags (key-value pairs) that you want to attach to the dataset.
|
int |
hashCode() |
void |
setDatasetSource(DatasetSource datasetSource)
The source files for the dataset.
|
void |
setDatasetType(String datasetType)
The type of the dataset.
|
void |
setProjectArn(String projectArn)
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
|
void |
setTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the dataset.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatasetRequest |
withDatasetSource(DatasetSource datasetSource)
The source files for the dataset.
|
CreateDatasetRequest |
withDatasetType(DatasetType datasetType)
The type of the dataset.
|
CreateDatasetRequest |
withDatasetType(String datasetType)
The type of the dataset.
|
CreateDatasetRequest |
withProjectArn(String projectArn)
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
|
CreateDatasetRequest |
withTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to 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 setDatasetSource(DatasetSource datasetSource)
The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket
location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource
, an empty
dataset is created. To add labeled images to the dataset, You can use the console or call
UpdateDatasetEntries.
datasetSource
- The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3
bucket location of an Amazon Sagemaker format manifest file. If you don't specify
datasetSource
, an empty dataset is created. To add labeled images to the dataset, You can use
the console or call UpdateDatasetEntries.public DatasetSource getDatasetSource()
The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket
location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource
, an empty
dataset is created. To add labeled images to the dataset, You can use the console or call
UpdateDatasetEntries.
datasetSource
, an empty dataset is created. To add labeled images to the dataset, You can
use the console or call UpdateDatasetEntries.public CreateDatasetRequest withDatasetSource(DatasetSource datasetSource)
The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket
location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource
, an empty
dataset is created. To add labeled images to the dataset, You can use the console or call
UpdateDatasetEntries.
datasetSource
- The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3
bucket location of an Amazon Sagemaker format manifest file. If you don't specify
datasetSource
, an empty dataset is created. To add labeled images to the dataset, You can use
the console or call UpdateDatasetEntries.public void setDatasetType(String datasetType)
The type of the dataset. Specify TRAIN
to create a training dataset. Specify TEST
to
create a test dataset.
datasetType
- The type of the dataset. Specify TRAIN
to create a training dataset. Specify
TEST
to create a test dataset.DatasetType
public String getDatasetType()
The type of the dataset. Specify TRAIN
to create a training dataset. Specify TEST
to
create a test dataset.
TRAIN
to create a training dataset. Specify
TEST
to create a test dataset.DatasetType
public CreateDatasetRequest withDatasetType(String datasetType)
The type of the dataset. Specify TRAIN
to create a training dataset. Specify TEST
to
create a test dataset.
datasetType
- The type of the dataset. Specify TRAIN
to create a training dataset. Specify
TEST
to create a test dataset.DatasetType
public CreateDatasetRequest withDatasetType(DatasetType datasetType)
The type of the dataset. Specify TRAIN
to create a training dataset. Specify TEST
to
create a test dataset.
datasetType
- The type of the dataset. Specify TRAIN
to create a training dataset. Specify
TEST
to create a test dataset.DatasetType
public void setProjectArn(String projectArn)
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
projectArn
- The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.public String getProjectArn()
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
public CreateDatasetRequest withProjectArn(String projectArn)
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
projectArn
- The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.public Map<String,String> getTags()
A set of tags (key-value pairs) that you want to attach to the dataset.
public void setTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the dataset.
tags
- A set of tags (key-value pairs) that you want to attach to the dataset.public CreateDatasetRequest withTags(Map<String,String> tags)
A set of tags (key-value pairs) that you want to attach to the dataset.
tags
- A set of tags (key-value pairs) that you want to attach to the dataset.public CreateDatasetRequest addTagsEntry(String key, String value)
public CreateDatasetRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateDatasetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()