Interface Job.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Job.Builder,
,Job> SdkBuilder<Job.Builder,
,Job> SdkPojo
- Enclosing class:
Job
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of a Job.creationDateTime
(String creationDateTime) The date and time of when the Job was created.endDateTime
(String endDateTime) The date and time of when the Job ended.initiatedBy
(String initiatedBy) A string representing who initiated the Job.initiatedBy
(InitiatedBy initiatedBy) A string representing who initiated the Job.The ID of the Job.participatingResources
(Collection<ParticipatingResource> participatingResources) A list of resources that the Job is acting upon.participatingResources
(Consumer<ParticipatingResource.Builder>... participatingResources) A list of resources that the Job is acting upon.participatingResources
(ParticipatingResource... participatingResources) A list of resources that the Job is acting upon.participatingServers
(Collection<ParticipatingServer> participatingServers) A list of servers that the Job is acting upon.participatingServers
(Consumer<ParticipatingServer.Builder>... participatingServers) A list of servers that the Job is acting upon.participatingServers
(ParticipatingServer... participatingServers) A list of servers that the Job is acting upon.The status of the Job.The status of the Job.A list of tags associated with the Job.The type of the Job.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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.Builder
avoiding the need to create one manually viaParticipatingResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparticipatingResources(List<ParticipatingResource>)
.- 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:
-
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
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
A list of servers that the Job is acting upon.
This is a convenience method that creates an instance of theParticipatingServer.Builder
avoiding the need to create one manually viaParticipatingServer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparticipatingServers(List<ParticipatingServer>)
.- 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:
-
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
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
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
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:
-