@Generated(value="software.amazon.awssdk:codegen") public final class CreateDatasetRequest extends RekognitionRequest implements ToCopyableBuilder<CreateDatasetRequest.Builder,CreateDatasetRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDatasetRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateDatasetRequest.Builder |
builder() |
DatasetSource |
datasetSource()
The source files for the dataset.
|
DatasetType |
datasetType()
The type of the dataset.
|
String |
datasetTypeAsString()
The type of the dataset.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
projectArn()
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDatasetRequest.Builder> |
serializableBuilderClass() |
CreateDatasetRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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, an empty dataset is created. To add labeled images to the dataset, You can
use the console or call UpdateDatasetEntries.public final DatasetType datasetType()
The type of the dataset. Specify train to create a training dataset. Specify test to
create a test dataset.
If the service returns an enum value that is not available in the current SDK version, datasetType will
return DatasetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
datasetTypeAsString().
train to create a training dataset. Specify
test to create a test dataset.DatasetTypepublic final String datasetTypeAsString()
The type of the dataset. Specify train to create a training dataset. Specify test to
create a test dataset.
If the service returns an enum value that is not available in the current SDK version, datasetType will
return DatasetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
datasetTypeAsString().
train to create a training dataset. Specify
test to create a test dataset.DatasetTypepublic final String projectArn()
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
public CreateDatasetRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDatasetRequest.Builder,CreateDatasetRequest>toBuilder in class RekognitionRequestpublic static CreateDatasetRequest.Builder builder()
public static Class<? extends CreateDatasetRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.