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 Summary
Modifier and TypeMethodDescriptionthe ARN of the specific Job.creationDateTime
(String creationDateTime) Job creation time.endDateTime
(String endDateTime) Job end time.initiatedBy
(String initiatedBy) Job initiated by field.initiatedBy
(InitiatedBy initiatedBy) Job initiated by field.Job ID.participatingServers
(Collection<ParticipatingServer> participatingServers) Servers participating in a specific Job.participatingServers
(Consumer<ParticipatingServer.Builder>... participatingServers) Servers participating in a specific Job.participatingServers
(ParticipatingServer... participatingServers) Servers participating in a specific Job.Job status.Job status.Tags associated with specific Job.Job type.Job type.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 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 creation time.
- Parameters:
creationDateTime
- Job creation time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 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 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 ID.
- Parameters:
jobID
- Job ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
Servers participating in a specific Job.
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
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 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 type.
- Parameters:
type
- Job type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Job type.
- Parameters:
type
- Job type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-