Interface DescribeJobResponse.Builder

  • Method Details

    • jobName

      The name of the job.

      Parameters:
      jobName - The name of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobArn

      The Amazon Resource Name (ARN) of the job.

      Parameters:
      jobArn - The Amazon Resource Name (ARN) of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      The ARN of the IAM role associated with the job.

      Parameters:
      roleArn - The ARN of the IAM role associated with the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobCategory

      DescribeJobResponse.Builder jobCategory(String jobCategory)

      The category of the job.

      Parameters:
      jobCategory - The category of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobCategory

      DescribeJobResponse.Builder jobCategory(JobCategory jobCategory)

      The category of the job.

      Parameters:
      jobCategory - The category of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobConfigSchemaVersion

      DescribeJobResponse.Builder jobConfigSchemaVersion(String jobConfigSchemaVersion)

      The schema version used for the job configuration document.

      Parameters:
      jobConfigSchemaVersion - The schema version used for the job configuration document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobConfigDocument

      DescribeJobResponse.Builder jobConfigDocument(String jobConfigDocument)

      The JSON configuration document for the job.

      Parameters:
      jobConfigDocument - The JSON configuration document for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      DescribeJobResponse.Builder creationTime(Instant creationTime)

      The date and time that the job was created.

      Parameters:
      creationTime - The date and time that the job was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      DescribeJobResponse.Builder lastModifiedTime(Instant lastModifiedTime)

      The date and time that the job was last modified.

      Parameters:
      lastModifiedTime - The date and time that the job was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The date and time that the job ended.

      Parameters:
      endTime - The date and time that the job ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobStatus

      DescribeJobResponse.Builder jobStatus(String jobStatus)

      The current status of the job.

      Parameters:
      jobStatus - The current status of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobStatus

      DescribeJobResponse.Builder jobStatus(JobStatus jobStatus)

      The current status of the job.

      Parameters:
      jobStatus - The current status of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • secondaryStatus

      DescribeJobResponse.Builder secondaryStatus(String secondaryStatus)

      The detailed secondary status of the job, providing more granular information about the job's progress. Secondary statuses may change between releases.

      Parameters:
      secondaryStatus - The detailed secondary status of the job, providing more granular information about the job's progress. Secondary statuses may change between releases.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • secondaryStatus

      DescribeJobResponse.Builder secondaryStatus(JobSecondaryStatus secondaryStatus)

      The detailed secondary status of the job, providing more granular information about the job's progress. Secondary statuses may change between releases.

      Parameters:
      secondaryStatus - The detailed secondary status of the job, providing more granular information about the job's progress. Secondary statuses may change between releases.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • secondaryStatusTransitions

      DescribeJobResponse.Builder secondaryStatusTransitions(Collection<JobSecondaryStatusTransition> secondaryStatusTransitions)

      A list of secondary status transitions for the job, with timestamps and optional status messages.

      Parameters:
      secondaryStatusTransitions - A list of secondary status transitions for the job, with timestamps and optional status messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secondaryStatusTransitions

      DescribeJobResponse.Builder secondaryStatusTransitions(JobSecondaryStatusTransition... secondaryStatusTransitions)

      A list of secondary status transitions for the job, with timestamps and optional status messages.

      Parameters:
      secondaryStatusTransitions - A list of secondary status transitions for the job, with timestamps and optional status messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secondaryStatusTransitions

      DescribeJobResponse.Builder secondaryStatusTransitions(Consumer<JobSecondaryStatusTransition.Builder>... secondaryStatusTransitions)

      A list of secondary status transitions for the job, with timestamps and optional status messages.

      This is a convenience method that creates an instance of the JobSecondaryStatusTransition.Builder avoiding the need to create one manually via JobSecondaryStatusTransition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to secondaryStatusTransitions(List<JobSecondaryStatusTransition>).

      Parameters:
      secondaryStatusTransitions - a consumer that will call methods on JobSecondaryStatusTransition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      DescribeJobResponse.Builder failureReason(String failureReason)

      If the job failed, the reason it failed.

      Parameters:
      failureReason - If the job failed, the reason it failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the job.

      Parameters:
      tags - The tags associated with the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the job.

      Parameters:
      tags - The tags associated with the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the job.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: