Interface Job.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Job.Builder,Job>,SdkBuilder<Job.Builder,Job>,SdkPojo
- Enclosing class:
- Job
public static interface Job.Builder extends SdkPojo, CopyableBuilder<Job.Builder,Job>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Job.Builderarn(String arn)The ARN of a Job.Job.BuildercreationDateTime(String creationDateTime)The date and time of when the Job was created.Job.BuilderendDateTime(String endDateTime)The date and time of when the Job ended.Job.BuilderinitiatedBy(String initiatedBy)A string representing who initiated the Job.Job.BuilderinitiatedBy(InitiatedBy initiatedBy)A string representing who initiated the Job.Job.BuilderjobID(String jobID)The ID of the Job.Job.BuilderparticipatingResources(Collection<ParticipatingResource> participatingResources)A list of resources that the Job is acting upon.Job.BuilderparticipatingResources(Consumer<ParticipatingResource.Builder>... participatingResources)A list of resources that the Job is acting upon.Job.BuilderparticipatingResources(ParticipatingResource... participatingResources)A list of resources that the Job is acting upon.Job.BuilderparticipatingServers(Collection<ParticipatingServer> participatingServers)A list of servers that the Job is acting upon.Job.BuilderparticipatingServers(Consumer<ParticipatingServer.Builder>... participatingServers)A list of servers that the Job is acting upon.Job.BuilderparticipatingServers(ParticipatingServer... participatingServers)A list of servers that the Job is acting upon.Job.Builderstatus(String status)The status of the Job.Job.Builderstatus(JobStatus status)The status of the Job.Job.Buildertags(Map<String,String> tags)A list of tags associated with the Job.Job.Buildertype(String type)The type of the Job.Job.Buildertype(JobType type)The type of the Job.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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,InitiatedBy
-
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:
InitiatedBy,InitiatedBy
-
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 theParticipatingResource.Builderavoiding the need to create one manually viaParticipatingResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#participatingResources(List.) - Parameters:
participatingResources- a consumer that will call methods onParticipatingResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#participatingResources(java.util.Collection)
-
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 theParticipatingServer.Builderavoiding the need to create one manually viaParticipatingServer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#participatingServers(List.) - Parameters:
participatingServers- a consumer that will call methods onParticipatingServer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#participatingServers(java.util.Collection)
-
status
Job.Builder status(String status)
The status of the Job.
-
status
Job.Builder status(JobStatus status)
The status of the Job.
-
tags
Job.Builder tags(Map<String,String> 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.
-
type
Job.Builder type(JobType type)
The type of the Job.
-
-