@Generated(value="software.amazon.awssdk:codegen") public final class CreateLabelingJobRequest extends SageMakerRequest implements ToCopyableBuilder<CreateLabelingJobRequest.Builder,CreateLabelingJobRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateLabelingJobRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateLabelingJobRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
HumanTaskConfig |
humanTaskConfig()
Configures the labeling task and how it is presented to workers; including, but not limited to price, keywords,
and batch size (task count).
|
LabelingJobInputConfig |
inputConfig()
Input data for the labeling job, such as the Amazon S3 location of the data objects and the location of the
manifest file that describes the data objects.
|
String |
labelAttributeName()
The attribute name to use for the label in the output manifest file.
|
String |
labelCategoryConfigS3Uri()
The S3 URL of the file that defines the categories used to label the data objects.
|
LabelingJobAlgorithmsConfig |
labelingJobAlgorithmsConfig()
Configures the information required to perform automated data labeling.
|
String |
labelingJobName()
The name of the labeling job.
|
LabelingJobOutputConfig |
outputConfig()
The location of the output data and the AWS Key Management Service key ID for the key used to encrypt the output
data, if any.
|
String |
roleArn()
The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data
labeling.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateLabelingJobRequest.Builder> |
serializableBuilderClass() |
LabelingJobStoppingConditions |
stoppingConditions()
A set of conditions for stopping the labeling job.
|
List<Tag> |
tags()
An array of key/value pairs.
|
CreateLabelingJobRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String labelingJobName()
The name of the labeling job. This name is used to identify the job in a list of labeling jobs.
public String labelAttributeName()
The attribute name to use for the label in the output manifest file. This is the key for the key/value pair formed with the label that a worker assigns to the object. The name can't end with "-metadata". If you are running a semantic segmentation labeling job, the attribute name must end with "-ref". If you are running any other kind of labeling job, the attribute name must not end with "-ref".
public LabelingJobInputConfig inputConfig()
Input data for the labeling job, such as the Amazon S3 location of the data objects and the location of the manifest file that describes the data objects.
public LabelingJobOutputConfig outputConfig()
The location of the output data and the AWS Key Management Service key ID for the key used to encrypt the output data, if any.
public String roleArn()
The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete data labeling.
public String labelCategoryConfigS3Uri()
The S3 URL of the file that defines the categories used to label the data objects.
For 3D point cloud task types, see Create a Labeling Category Configuration File for 3D Point Cloud Labeling Jobs.
For all other built-in task
types and custom
tasks, your label category configuration file must be a JSON file in the following format. Identify the
labels you want to use by replacing label_1, label_2,...,
label_n with your label categories.
{
"document-version": "2018-11-28"
"labels": [
{
"label": "label_1"
},
{
"label": "label_2"
},
...
{
"label": "label_n"
}
]
}
For 3D point cloud task types, see Create a Labeling Category Configuration File for 3D Point Cloud Labeling Jobs.
For all other built-in task
types and custom
tasks, your label category configuration file must be a JSON file in the following format. Identify
the labels you want to use by replacing label_1, label_2,...,
label_n with your label categories.
{
"document-version": "2018-11-28"
"labels": [
{
"label": "label_1"
},
{
"label": "label_2"
},
...
{
"label": "label_n"
}
]
}
public LabelingJobStoppingConditions stoppingConditions()
A set of conditions for stopping the labeling job. If any of the conditions are met, the job is automatically stopped. You can use these conditions to control the cost of data labeling.
public LabelingJobAlgorithmsConfig labelingJobAlgorithmsConfig()
Configures the information required to perform automated data labeling.
public HumanTaskConfig humanTaskConfig()
Configures the labeling task and how it is presented to workers; including, but not limited to price, keywords, and batch size (task count).
public boolean hasTags()
public List<Tag> tags()
An array of key/value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public CreateLabelingJobRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateLabelingJobRequest.Builder,CreateLabelingJobRequest>toBuilder in class SageMakerRequestpublic static CreateLabelingJobRequest.Builder builder()
public static Class<? extends CreateLabelingJobRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.