Interface Job.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Job.Builder,Job>, SdkBuilder<Job.Builder,Job>, SdkPojo
Enclosing class:
Job

@Mutable @NotThreadSafe public static interface Job.Builder extends SdkPojo, CopyableBuilder<Job.Builder,Job>
  • Method Details

    • arn

      Job.Builder arn(String arn)

      the ARN of the specific Job.

      Parameters:
      arn - the ARN of the specific Job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDateTime

      Job.Builder creationDateTime(String creationDateTime)

      Job creation time.

      Parameters:
      creationDateTime - Job creation time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDateTime

      Job.Builder endDateTime(String endDateTime)

      Job end time.

      Parameters:
      endDateTime - Job end time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • initiatedBy

      Job.Builder initiatedBy(String initiatedBy)

      Job initiated by field.

      Parameters:
      initiatedBy - Job initiated by field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • initiatedBy

      Job.Builder initiatedBy(InitiatedBy initiatedBy)

      Job initiated by field.

      Parameters:
      initiatedBy - Job initiated by field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobID

      Job.Builder jobID(String jobID)

      Job ID.

      Parameters:
      jobID - Job ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participatingServers

      Job.Builder participatingServers(Collection<ParticipatingServer> participatingServers)

      Servers participating in a specific Job.

      Parameters:
      participatingServers - Servers participating in a specific Job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participatingServers

      Job.Builder participatingServers(ParticipatingServer... participatingServers)

      Servers participating in a specific Job.

      Parameters:
      participatingServers - Servers participating in a specific Job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participatingServers

      Job.Builder participatingServers(Consumer<ParticipatingServer.Builder>... participatingServers)

      Servers participating in a specific Job.

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

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

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

      Job.Builder status(String status)

      Job status.

      Parameters:
      status - Job status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Job.Builder status(JobStatus status)

      Job status.

      Parameters:
      status - Job status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      Tags associated with specific Job.

      Parameters:
      tags - Tags associated with specific Job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Job.Builder type(String type)

      Job type.

      Parameters:
      type - Job type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Job.Builder type(JobType type)

      Job type.

      Parameters:
      type - Job type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: