@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLabelingJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLabelingJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLabelingJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
HumanTaskConfig |
getHumanTaskConfig()
Configures the information required for human workers to complete a labeling task.
|
LabelingJobInputConfig |
getInputConfig()
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 |
getLabelAttributeName()
The attribute name to use for the label in the output manifest file.
|
String |
getLabelCategoryConfigS3Uri()
The S3 URL of the file that defines the categories used to label the data objects.
|
LabelingJobAlgorithmsConfig |
getLabelingJobAlgorithmsConfig()
Configures the information required to perform automated data labeling.
|
String |
getLabelingJobName()
The name of the labeling job.
|
LabelingJobOutputConfig |
getOutputConfig()
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 |
getRoleArn()
The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data
labeling.
|
LabelingJobStoppingConditions |
getStoppingConditions()
A set of conditions for stopping the labeling job.
|
List<Tag> |
getTags()
An array of key/value pairs.
|
int |
hashCode() |
void |
setHumanTaskConfig(HumanTaskConfig humanTaskConfig)
Configures the information required for human workers to complete a labeling task.
|
void |
setInputConfig(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.
|
void |
setLabelAttributeName(String labelAttributeName)
The attribute name to use for the label in the output manifest file.
|
void |
setLabelCategoryConfigS3Uri(String labelCategoryConfigS3Uri)
The S3 URL of the file that defines the categories used to label the data objects.
|
void |
setLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig labelingJobAlgorithmsConfig)
Configures the information required to perform automated data labeling.
|
void |
setLabelingJobName(String labelingJobName)
The name of the labeling job.
|
void |
setOutputConfig(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.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data
labeling.
|
void |
setStoppingConditions(LabelingJobStoppingConditions stoppingConditions)
A set of conditions for stopping the labeling job.
|
void |
setTags(Collection<Tag> tags)
An array of key/value pairs.
|
String |
toString()
Returns a string representation of this object.
|
CreateLabelingJobRequest |
withHumanTaskConfig(HumanTaskConfig humanTaskConfig)
Configures the information required for human workers to complete a labeling task.
|
CreateLabelingJobRequest |
withInputConfig(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.
|
CreateLabelingJobRequest |
withLabelAttributeName(String labelAttributeName)
The attribute name to use for the label in the output manifest file.
|
CreateLabelingJobRequest |
withLabelCategoryConfigS3Uri(String labelCategoryConfigS3Uri)
The S3 URL of the file that defines the categories used to label the data objects.
|
CreateLabelingJobRequest |
withLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig labelingJobAlgorithmsConfig)
Configures the information required to perform automated data labeling.
|
CreateLabelingJobRequest |
withLabelingJobName(String labelingJobName)
The name of the labeling job.
|
CreateLabelingJobRequest |
withOutputConfig(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.
|
CreateLabelingJobRequest |
withRoleArn(String roleArn)
The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data
labeling.
|
CreateLabelingJobRequest |
withStoppingConditions(LabelingJobStoppingConditions stoppingConditions)
A set of conditions for stopping the labeling job.
|
CreateLabelingJobRequest |
withTags(Collection<Tag> tags)
An array of key/value pairs.
|
CreateLabelingJobRequest |
withTags(Tag... tags)
An array of key/value pairs.
|
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 setLabelingJobName(String labelingJobName)
The name of the labeling job. This name is used to identify the job in a list of labeling jobs.
labelingJobName
- The name of the labeling job. This name is used to identify the job in a list of labeling jobs.public String getLabelingJobName()
The name of the labeling job. This name is used to identify the job in a list of labeling jobs.
public CreateLabelingJobRequest withLabelingJobName(String labelingJobName)
The name of the labeling job. This name is used to identify the job in a list of labeling jobs.
labelingJobName
- The name of the labeling job. This name is used to identify the job in a list of labeling jobs.public void setLabelAttributeName(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".
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 String getLabelAttributeName()
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 CreateLabelingJobRequest withLabelAttributeName(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".
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 void setInputConfig(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.
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 LabelingJobInputConfig getInputConfig()
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 CreateLabelingJobRequest withInputConfig(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.
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 void setOutputConfig(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.
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 LabelingJobOutputConfig getOutputConfig()
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 CreateLabelingJobRequest withOutputConfig(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.
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 void setRoleArn(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.
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 getRoleArn()
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 CreateLabelingJobRequest withRoleArn(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.
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 void setLabelCategoryConfigS3Uri(String labelCategoryConfigS3Uri)
The S3 URL of the file that defines the categories used to label the data objects.
The file is a JSON structure in the following format:
{
"document-version": "2018-11-28"
"labels": [
{
"label": "label 1"
},
{
"label": "label 2"
},
...
{
"label": "label n"
}
]
}
labelCategoryConfigS3Uri
- The S3 URL of the file that defines the categories used to label the data objects.
The file is a JSON structure in the following format:
{
"document-version": "2018-11-28"
"labels": [
{
"label": "label 1"
},
{
"label": "label 2"
},
...
{
"label": "label n"
}
]
}
public String getLabelCategoryConfigS3Uri()
The S3 URL of the file that defines the categories used to label the data objects.
The file is a JSON structure in the following format:
{
"document-version": "2018-11-28"
"labels": [
{
"label": "label 1"
},
{
"label": "label 2"
},
...
{
"label": "label n"
}
]
}
The file is a JSON structure in the following format:
{
"document-version": "2018-11-28"
"labels": [
{
"label": "label 1"
},
{
"label": "label 2"
},
...
{
"label": "label n"
}
]
}
public CreateLabelingJobRequest withLabelCategoryConfigS3Uri(String labelCategoryConfigS3Uri)
The S3 URL of the file that defines the categories used to label the data objects.
The file is a JSON structure in the following format:
{
"document-version": "2018-11-28"
"labels": [
{
"label": "label 1"
},
{
"label": "label 2"
},
...
{
"label": "label n"
}
]
}
labelCategoryConfigS3Uri
- The S3 URL of the file that defines the categories used to label the data objects.
The file is a JSON structure in the following format:
{
"document-version": "2018-11-28"
"labels": [
{
"label": "label 1"
},
{
"label": "label 2"
},
...
{
"label": "label n"
}
]
}
public void setStoppingConditions(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.
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 LabelingJobStoppingConditions getStoppingConditions()
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 CreateLabelingJobRequest withStoppingConditions(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.
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 void setLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig labelingJobAlgorithmsConfig)
Configures the information required to perform automated data labeling.
labelingJobAlgorithmsConfig
- Configures the information required to perform automated data labeling.public LabelingJobAlgorithmsConfig getLabelingJobAlgorithmsConfig()
Configures the information required to perform automated data labeling.
public CreateLabelingJobRequest withLabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig labelingJobAlgorithmsConfig)
Configures the information required to perform automated data labeling.
labelingJobAlgorithmsConfig
- Configures the information required to perform automated data labeling.public void setHumanTaskConfig(HumanTaskConfig humanTaskConfig)
Configures the information required for human workers to complete a labeling task.
humanTaskConfig
- Configures the information required for human workers to complete a labeling task.public HumanTaskConfig getHumanTaskConfig()
Configures the information required for human workers to complete a labeling task.
public CreateLabelingJobRequest withHumanTaskConfig(HumanTaskConfig humanTaskConfig)
Configures the information required for human workers to complete a labeling task.
humanTaskConfig
- Configures the information required for human workers to complete a labeling task.public List<Tag> getTags()
An array of key/value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
public void setTags(Collection<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.
tags
- An array of key/value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.public CreateLabelingJobRequest withTags(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.
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
- An array of key/value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.public CreateLabelingJobRequest withTags(Collection<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.
tags
- An array of key/value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.public String toString()
toString
in class Object
Object.toString()
public CreateLabelingJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.