Class LabelingJobSummary

java.lang.Object
software.amazon.awssdk.services.sagemaker.model.LabelingJobSummary
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<LabelingJobSummary.Builder,LabelingJobSummary>

@Generated("software.amazon.awssdk:codegen") public final class LabelingJobSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LabelingJobSummary.Builder,LabelingJobSummary>

Provides summary information about a labeling job.

See Also:
  • Method Details

    • labelingJobName

      public final String labelingJobName()

      The name of the labeling job.

      Returns:
      The name of the labeling job.
    • labelingJobArn

      public final String labelingJobArn()

      The Amazon Resource Name (ARN) assigned to the labeling job when it was created.

      Returns:
      The Amazon Resource Name (ARN) assigned to the labeling job when it was created.
    • creationTime

      public final Instant creationTime()

      The date and time that the job was created (timestamp).

      Returns:
      The date and time that the job was created (timestamp).
    • lastModifiedTime

      public final Instant lastModifiedTime()

      The date and time that the job was last modified (timestamp).

      Returns:
      The date and time that the job was last modified (timestamp).
    • labelingJobStatus

      public final LabelingJobStatus labelingJobStatus()

      The current status of the labeling job.

      If the service returns an enum value that is not available in the current SDK version, labelingJobStatus will return LabelingJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from labelingJobStatusAsString().

      Returns:
      The current status of the labeling job.
      See Also:
    • labelingJobStatusAsString

      public final String labelingJobStatusAsString()

      The current status of the labeling job.

      If the service returns an enum value that is not available in the current SDK version, labelingJobStatus will return LabelingJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from labelingJobStatusAsString().

      Returns:
      The current status of the labeling job.
      See Also:
    • labelCounters

      public final LabelCounters labelCounters()

      Counts showing the progress of the labeling job.

      Returns:
      Counts showing the progress of the labeling job.
    • workteamArn

      public final String workteamArn()

      The Amazon Resource Name (ARN) of the work team assigned to the job.

      Returns:
      The Amazon Resource Name (ARN) of the work team assigned to the job.
    • preHumanTaskLambdaArn

      public final String preHumanTaskLambdaArn()

      The Amazon Resource Name (ARN) of a Lambda function. The function is run before each data object is sent to a worker.

      Returns:
      The Amazon Resource Name (ARN) of a Lambda function. The function is run before each data object is sent to a worker.
    • annotationConsolidationLambdaArn

      public final String annotationConsolidationLambdaArn()

      The Amazon Resource Name (ARN) of the Lambda function used to consolidate the annotations from individual workers into a label for a data object. For more information, see Annotation Consolidation.

      Returns:
      The Amazon Resource Name (ARN) of the Lambda function used to consolidate the annotations from individual workers into a label for a data object. For more information, see Annotation Consolidation.
    • failureReason

      public final String failureReason()

      If the LabelingJobStatus field is Failed, this field contains a description of the error.

      Returns:
      If the LabelingJobStatus field is Failed, this field contains a description of the error.
    • labelingJobOutput

      public final LabelingJobOutput labelingJobOutput()

      The location of the output produced by the labeling job.

      Returns:
      The location of the output produced by the labeling job.
    • inputConfig

      public final LabelingJobInputConfig inputConfig()

      Input configuration for the labeling job.

      Returns:
      Input configuration for the labeling job.
    • toBuilder

      public LabelingJobSummary.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<LabelingJobSummary.Builder,LabelingJobSummary>
      Returns:
      a builder for type T
    • builder

      public static LabelingJobSummary.Builder builder()
    • serializableBuilderClass

      public static Class<? extends LabelingJobSummary.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.