Interface DescribeLabelingJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeLabelingJobResponse.Builder,DescribeLabelingJobResponse>,SageMakerResponse.Builder,SdkBuilder<DescribeLabelingJobResponse.Builder,DescribeLabelingJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeLabelingJobResponse
public static interface DescribeLabelingJobResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeLabelingJobResponse.Builder,DescribeLabelingJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeLabelingJobResponse.BuildercreationTime(Instant creationTime)The date and time that the labeling job was created.DescribeLabelingJobResponse.BuilderfailureReason(String failureReason)If the job failed, the reason that it failed.default DescribeLabelingJobResponse.BuilderhumanTaskConfig(Consumer<HumanTaskConfig.Builder> humanTaskConfig)Configuration information required for human workers to complete a labeling task.DescribeLabelingJobResponse.BuilderhumanTaskConfig(HumanTaskConfig humanTaskConfig)Configuration information required for human workers to complete a labeling task.default DescribeLabelingJobResponse.BuilderinputConfig(Consumer<LabelingJobInputConfig.Builder> inputConfig)Input configuration information 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.DescribeLabelingJobResponse.BuilderinputConfig(LabelingJobInputConfig inputConfig)Input configuration information 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.DescribeLabelingJobResponse.BuilderjobReferenceCode(String jobReferenceCode)A unique identifier for work done as part of a labeling job.DescribeLabelingJobResponse.BuilderlabelAttributeName(String labelAttributeName)The attribute used as the label in the output manifest file.DescribeLabelingJobResponse.BuilderlabelCategoryConfigS3Uri(String labelCategoryConfigS3Uri)The S3 location of the JSON file that defines the categories used to label data objects.default DescribeLabelingJobResponse.BuilderlabelCounters(Consumer<LabelCounters.Builder> labelCounters)Provides a breakdown of the number of data objects labeled by humans, the number of objects labeled by machine, the number of objects than couldn't be labeled, and the total number of objects labeled.DescribeLabelingJobResponse.BuilderlabelCounters(LabelCounters labelCounters)Provides a breakdown of the number of data objects labeled by humans, the number of objects labeled by machine, the number of objects than couldn't be labeled, and the total number of objects labeled.default DescribeLabelingJobResponse.BuilderlabelingJobAlgorithmsConfig(Consumer<LabelingJobAlgorithmsConfig.Builder> labelingJobAlgorithmsConfig)Configuration information for automated data labeling.DescribeLabelingJobResponse.BuilderlabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig labelingJobAlgorithmsConfig)Configuration information for automated data labeling.DescribeLabelingJobResponse.BuilderlabelingJobArn(String labelingJobArn)The Amazon Resource Name (ARN) of the labeling job.DescribeLabelingJobResponse.BuilderlabelingJobName(String labelingJobName)The name assigned to the labeling job when it was created.default DescribeLabelingJobResponse.BuilderlabelingJobOutput(Consumer<LabelingJobOutput.Builder> labelingJobOutput)The location of the output produced by the labeling job.DescribeLabelingJobResponse.BuilderlabelingJobOutput(LabelingJobOutput labelingJobOutput)The location of the output produced by the labeling job.DescribeLabelingJobResponse.BuilderlabelingJobStatus(String labelingJobStatus)The processing status of the labeling job.DescribeLabelingJobResponse.BuilderlabelingJobStatus(LabelingJobStatus labelingJobStatus)The processing status of the labeling job.DescribeLabelingJobResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The date and time that the labeling job was last updated.default DescribeLabelingJobResponse.BuilderoutputConfig(Consumer<LabelingJobOutputConfig.Builder> outputConfig)The location of the job's output data and the Amazon Web Services Key Management Service key ID for the key used to encrypt the output data, if any.DescribeLabelingJobResponse.BuilderoutputConfig(LabelingJobOutputConfig outputConfig)The location of the job's output data and the Amazon Web Services Key Management Service key ID for the key used to encrypt the output data, if any.DescribeLabelingJobResponse.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) that SageMaker assumes to perform tasks on your behalf during data labeling.default DescribeLabelingJobResponse.BuilderstoppingConditions(Consumer<LabelingJobStoppingConditions.Builder> stoppingConditions)A set of conditions for stopping a labeling job.DescribeLabelingJobResponse.BuilderstoppingConditions(LabelingJobStoppingConditions stoppingConditions)A set of conditions for stopping a labeling job.DescribeLabelingJobResponse.Buildertags(Collection<Tag> tags)An array of key-value pairs.DescribeLabelingJobResponse.Buildertags(Consumer<Tag.Builder>... tags)An array of key-value pairs.DescribeLabelingJobResponse.Buildertags(Tag... tags)An array of key-value pairs.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
labelingJobStatus
DescribeLabelingJobResponse.Builder labelingJobStatus(String labelingJobStatus)
The processing status of the labeling job.
- Parameters:
labelingJobStatus- The processing status of the labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LabelingJobStatus,LabelingJobStatus
-
labelingJobStatus
DescribeLabelingJobResponse.Builder labelingJobStatus(LabelingJobStatus labelingJobStatus)
The processing status of the labeling job.
- Parameters:
labelingJobStatus- The processing status of the labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LabelingJobStatus,LabelingJobStatus
-
labelCounters
DescribeLabelingJobResponse.Builder labelCounters(LabelCounters labelCounters)
Provides a breakdown of the number of data objects labeled by humans, the number of objects labeled by machine, the number of objects than couldn't be labeled, and the total number of objects labeled.
- Parameters:
labelCounters- Provides a breakdown of the number of data objects labeled by humans, the number of objects labeled by machine, the number of objects than couldn't be labeled, and the total number of objects labeled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelCounters
default DescribeLabelingJobResponse.Builder labelCounters(Consumer<LabelCounters.Builder> labelCounters)
Provides a breakdown of the number of data objects labeled by humans, the number of objects labeled by machine, the number of objects than couldn't be labeled, and the total number of objects labeled.
This is a convenience method that creates an instance of theLabelCounters.Builderavoiding the need to create one manually viaLabelCounters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolabelCounters(LabelCounters).- Parameters:
labelCounters- a consumer that will call methods onLabelCounters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
labelCounters(LabelCounters)
-
failureReason
DescribeLabelingJobResponse.Builder failureReason(String failureReason)
If the job failed, the reason that it failed.
- Parameters:
failureReason- If the job failed, the reason that it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
DescribeLabelingJobResponse.Builder creationTime(Instant creationTime)
The date and time that the labeling job was created.
- Parameters:
creationTime- The date and time that the labeling job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
DescribeLabelingJobResponse.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time that the labeling job was last updated.
- Parameters:
lastModifiedTime- The date and time that the labeling job was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobReferenceCode
DescribeLabelingJobResponse.Builder jobReferenceCode(String jobReferenceCode)
A unique identifier for work done as part of a labeling job.
- Parameters:
jobReferenceCode- A unique identifier for work done as part of a labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelingJobName
DescribeLabelingJobResponse.Builder labelingJobName(String labelingJobName)
The name assigned to the labeling job when it was created.
- Parameters:
labelingJobName- The name assigned to the labeling job when it was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelingJobArn
DescribeLabelingJobResponse.Builder labelingJobArn(String labelingJobArn)
The Amazon Resource Name (ARN) of the labeling job.
- Parameters:
labelingJobArn- The Amazon Resource Name (ARN) of the labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelAttributeName
DescribeLabelingJobResponse.Builder labelAttributeName(String labelAttributeName)
The attribute used as the label in the output manifest file.
- Parameters:
labelAttributeName- The attribute used as the label in the output manifest file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfig
DescribeLabelingJobResponse.Builder inputConfig(LabelingJobInputConfig inputConfig)
Input configuration information 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.
- Parameters:
inputConfig- Input configuration information 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfig
default DescribeLabelingJobResponse.Builder inputConfig(Consumer<LabelingJobInputConfig.Builder> inputConfig)
Input configuration information 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.
This is a convenience method that creates an instance of theLabelingJobInputConfig.Builderavoiding the need to create one manually viaLabelingJobInputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputConfig(LabelingJobInputConfig).- Parameters:
inputConfig- a consumer that will call methods onLabelingJobInputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inputConfig(LabelingJobInputConfig)
-
outputConfig
DescribeLabelingJobResponse.Builder outputConfig(LabelingJobOutputConfig outputConfig)
The location of the job's output data and the Amazon Web Services Key Management Service key ID for the key used to encrypt the output data, if any.
- Parameters:
outputConfig- The location of the job's output data and the Amazon Web Services Key Management Service key ID for the key used to encrypt the output data, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default DescribeLabelingJobResponse.Builder outputConfig(Consumer<LabelingJobOutputConfig.Builder> outputConfig)
The location of the job's output data and the Amazon Web Services Key Management Service key ID for the key used to encrypt the output data, if any.
This is a convenience method that creates an instance of theLabelingJobOutputConfig.Builderavoiding the need to create one manually viaLabelingJobOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(LabelingJobOutputConfig).- Parameters:
outputConfig- a consumer that will call methods onLabelingJobOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputConfig(LabelingJobOutputConfig)
-
roleArn
DescribeLabelingJobResponse.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) that SageMaker assumes to perform tasks on your behalf during data labeling.
- Parameters:
roleArn- The Amazon Resource Name (ARN) that SageMaker assumes to perform tasks on your behalf during data labeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelCategoryConfigS3Uri
DescribeLabelingJobResponse.Builder labelCategoryConfigS3Uri(String labelCategoryConfigS3Uri)
The S3 location of the JSON file that defines the categories used to label data objects. Please note the following label-category limits:
-
Semantic segmentation labeling jobs using automated labeling: 20 labels
-
Box bounding labeling jobs (all): 10 labels
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"}]}- Parameters:
labelCategoryConfigS3Uri- The S3 location of the JSON file that defines the categories used to label data objects. Please note the following label-category limits:-
Semantic segmentation labeling jobs using automated labeling: 20 labels
-
Box bounding labeling jobs (all): 10 labels
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"}]}-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
stoppingConditions
DescribeLabelingJobResponse.Builder stoppingConditions(LabelingJobStoppingConditions stoppingConditions)
A set of conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped.
- Parameters:
stoppingConditions- A set of conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingConditions
default DescribeLabelingJobResponse.Builder stoppingConditions(Consumer<LabelingJobStoppingConditions.Builder> stoppingConditions)
A set of conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped.
This is a convenience method that creates an instance of theLabelingJobStoppingConditions.Builderavoiding the need to create one manually viaLabelingJobStoppingConditions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostoppingConditions(LabelingJobStoppingConditions).- Parameters:
stoppingConditions- a consumer that will call methods onLabelingJobStoppingConditions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
stoppingConditions(LabelingJobStoppingConditions)
-
labelingJobAlgorithmsConfig
DescribeLabelingJobResponse.Builder labelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig labelingJobAlgorithmsConfig)
Configuration information for automated data labeling.
- Parameters:
labelingJobAlgorithmsConfig- Configuration information for automated data labeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelingJobAlgorithmsConfig
default DescribeLabelingJobResponse.Builder labelingJobAlgorithmsConfig(Consumer<LabelingJobAlgorithmsConfig.Builder> labelingJobAlgorithmsConfig)
Configuration information for automated data labeling.
This is a convenience method that creates an instance of theLabelingJobAlgorithmsConfig.Builderavoiding the need to create one manually viaLabelingJobAlgorithmsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolabelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig).- Parameters:
labelingJobAlgorithmsConfig- a consumer that will call methods onLabelingJobAlgorithmsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
labelingJobAlgorithmsConfig(LabelingJobAlgorithmsConfig)
-
humanTaskConfig
DescribeLabelingJobResponse.Builder humanTaskConfig(HumanTaskConfig humanTaskConfig)
Configuration information required for human workers to complete a labeling task.
- Parameters:
humanTaskConfig- Configuration information required for human workers to complete a labeling task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanTaskConfig
default DescribeLabelingJobResponse.Builder humanTaskConfig(Consumer<HumanTaskConfig.Builder> humanTaskConfig)
Configuration information required for human workers to complete a labeling task.
This is a convenience method that creates an instance of theHumanTaskConfig.Builderavoiding the need to create one manually viaHumanTaskConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohumanTaskConfig(HumanTaskConfig).- Parameters:
humanTaskConfig- a consumer that will call methods onHumanTaskConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
humanTaskConfig(HumanTaskConfig)
-
tags
DescribeLabelingJobResponse.Builder tags(Collection<Tag> tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
- Parameters:
tags- An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DescribeLabelingJobResponse.Builder tags(Tag... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
- Parameters:
tags- An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DescribeLabelingJobResponse.Builder tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
labelingJobOutput
DescribeLabelingJobResponse.Builder labelingJobOutput(LabelingJobOutput labelingJobOutput)
The location of the output produced by the labeling job.
- Parameters:
labelingJobOutput- The location of the output produced by the labeling job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelingJobOutput
default DescribeLabelingJobResponse.Builder labelingJobOutput(Consumer<LabelingJobOutput.Builder> labelingJobOutput)
The location of the output produced by the labeling job.
This is a convenience method that creates an instance of theLabelingJobOutput.Builderavoiding the need to create one manually viaLabelingJobOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolabelingJobOutput(LabelingJobOutput).- Parameters:
labelingJobOutput- a consumer that will call methods onLabelingJobOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
labelingJobOutput(LabelingJobOutput)
-
-