Class LabelingJobState.Builder

  • Enclosing class:
    LabelingJobState

    public static final class LabelingJobState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • failureReason

        public LabelingJobState.Builder failureReason​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> failureReason)
        Parameters:
        failureReason - If the job failed, the reason that it failed.
        Returns:
        builder
      • failureReason

        public LabelingJobState.Builder failureReason​(java.lang.String failureReason)
        Parameters:
        failureReason - If the job failed, the reason that it failed.
        Returns:
        builder
      • humanTaskConfig

        public LabelingJobState.Builder humanTaskConfig​(@Nullable
                                                        com.pulumi.core.Output<LabelingJobHumanTaskConfigArgs> humanTaskConfig)
        Parameters:
        humanTaskConfig - Configuration information required for human workers to complete a labeling task. Fields are documented below.
        Returns:
        builder
      • humanTaskConfig

        public LabelingJobState.Builder humanTaskConfig​(LabelingJobHumanTaskConfigArgs humanTaskConfig)
        Parameters:
        humanTaskConfig - Configuration information required for human workers to complete a labeling task. Fields are documented below.
        Returns:
        builder
      • jobReferenceCode

        public LabelingJobState.Builder jobReferenceCode​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> jobReferenceCode)
        Parameters:
        jobReferenceCode - Unique identifier for work done as part of a labeling job.
        Returns:
        builder
      • jobReferenceCode

        public LabelingJobState.Builder jobReferenceCode​(java.lang.String jobReferenceCode)
        Parameters:
        jobReferenceCode - Unique identifier for work done as part of a labeling job.
        Returns:
        builder
      • labelAttributeName

        public LabelingJobState.Builder labelAttributeName​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> labelAttributeName)
        Parameters:
        labelAttributeName - Attribute name to use for the label in the output manifest file.
        Returns:
        builder
      • labelAttributeName

        public LabelingJobState.Builder labelAttributeName​(java.lang.String labelAttributeName)
        Parameters:
        labelAttributeName - Attribute name to use for the label in the output manifest file.
        Returns:
        builder
      • labelCategoryConfigS3Uri

        public LabelingJobState.Builder labelCategoryConfigS3Uri​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> labelCategoryConfigS3Uri)
        Parameters:
        labelCategoryConfigS3Uri - S3 URI of the file that defines the categories used to label the data objects.
        Returns:
        builder
      • labelCategoryConfigS3Uri

        public LabelingJobState.Builder labelCategoryConfigS3Uri​(java.lang.String labelCategoryConfigS3Uri)
        Parameters:
        labelCategoryConfigS3Uri - S3 URI of the file that defines the categories used to label the data objects.
        Returns:
        builder
      • labelingJobAlgorithmsConfig

        public LabelingJobState.Builder labelingJobAlgorithmsConfig​(@Nullable
                                                                    com.pulumi.core.Output<LabelingJobLabelingJobAlgorithmsConfigArgs> labelingJobAlgorithmsConfig)
        Parameters:
        labelingJobAlgorithmsConfig - Information required to perform automated data labeling.. Fields are documented below.
        Returns:
        builder
      • labelingJobArn

        public LabelingJobState.Builder labelingJobArn​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> labelingJobArn)
        Parameters:
        labelingJobArn - ARN of the labeling job.
        Returns:
        builder
      • labelingJobArn

        public LabelingJobState.Builder labelingJobArn​(java.lang.String labelingJobArn)
        Parameters:
        labelingJobArn - ARN of the labeling job.
        Returns:
        builder
      • labelingJobName

        public LabelingJobState.Builder labelingJobName​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> labelingJobName)
        Parameters:
        labelingJobName - Name of the labeling job.
        Returns:
        builder
      • labelingJobName

        public LabelingJobState.Builder labelingJobName​(java.lang.String labelingJobName)
        Parameters:
        labelingJobName - Name of the labeling job.
        Returns:
        builder
      • labelingJobStatus

        public LabelingJobState.Builder labelingJobStatus​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> labelingJobStatus)
        Parameters:
        labelingJobStatus - Processing status of the labeling job.
        Returns:
        builder
      • labelingJobStatus

        public LabelingJobState.Builder labelingJobStatus​(java.lang.String labelingJobStatus)
        Parameters:
        labelingJobStatus - Processing status of the labeling job.
        Returns:
        builder
      • region

        public LabelingJobState.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public LabelingJobState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • roleArn

        public LabelingJobState.Builder roleArn​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
        Returns:
        builder
      • roleArn

        public LabelingJobState.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - ARN of IAM role that Amazon SageMaker assumes to perform tasks during data labeling.
        Returns:
        builder
      • stoppingConditions

        public LabelingJobState.Builder stoppingConditions​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<LabelingJobStoppingConditionArgs>> stoppingConditions)
        Parameters:
        stoppingConditions - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
        Returns:
        builder
      • stoppingConditions

        public LabelingJobState.Builder stoppingConditions​(java.util.List<LabelingJobStoppingConditionArgs> stoppingConditions)
        Parameters:
        stoppingConditions - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
        Returns:
        builder
      • stoppingConditions

        public LabelingJobState.Builder stoppingConditions​(LabelingJobStoppingConditionArgs... stoppingConditions)
        Parameters:
        stoppingConditions - Conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. Fields are documented below.
        Returns:
        builder
      • tags

        public LabelingJobState.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public LabelingJobState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public LabelingJobState.Builder tagsAll​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public LabelingJobState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder