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 a Job.

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

      Job.Builder creationDateTime(String creationDateTime)

      The date and time of when the Job was created.

      Parameters:
      creationDateTime - The date and time of when the Job was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDateTime

      Job.Builder endDateTime(String endDateTime)

      The date and time of when the Job ended.

      Parameters:
      endDateTime - The date and time of when the Job ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • initiatedBy

      Job.Builder initiatedBy(String initiatedBy)

      A string representing who initiated the Job.

      Parameters:
      initiatedBy - A string representing who initiated the Job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • initiatedBy

      Job.Builder initiatedBy(InitiatedBy initiatedBy)

      A string representing who initiated the Job.

      Parameters:
      initiatedBy - A string representing who initiated the Job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobID

      Job.Builder jobID(String jobID)

      The ID of the Job.

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

      Job.Builder participatingResources(Collection<ParticipatingResource> participatingResources)

      A list of resources that the Job is acting upon.

      Parameters:
      participatingResources - A list of resources that the Job is acting upon.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participatingResources

      Job.Builder participatingResources(ParticipatingResource... participatingResources)

      A list of resources that the Job is acting upon.

      Parameters:
      participatingResources - A list of resources that the Job is acting upon.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participatingResources

      Job.Builder participatingResources(Consumer<ParticipatingResource.Builder>... participatingResources)

      A list of resources that the Job is acting upon.

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

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

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

      Job.Builder participatingServers(Collection<ParticipatingServer> participatingServers)

      A list of servers that the Job is acting upon.

      Parameters:
      participatingServers - A list of servers that the Job is acting upon.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participatingServers

      Job.Builder participatingServers(ParticipatingServer... participatingServers)

      A list of servers that the Job is acting upon.

      Parameters:
      participatingServers - A list of servers that the Job is acting upon.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participatingServers

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

      A list of servers that the Job is acting upon.

      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)

      The status of the Job.

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

      Job.Builder status(JobStatus status)

      The status of the Job.

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

      A list of tags associated with the Job.

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

      Job.Builder type(String type)

      The type of the Job.

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

      Job.Builder type(JobType type)

      The type of the Job.

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