Interface Job.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Job.Builder,,Job> SdkBuilder<Job.Builder,,Job> SdkPojo
- Enclosing class:
Job
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Instant creationTime) The date and time that the job was created.The date and time that the job ended.failureReason(String failureReason) If the job failed, the reason it failed.The Amazon Resource Name (ARN) of the job.jobCategory(String jobCategory) The category of the job.jobCategory(JobCategory jobCategory) The category of the job.jobConfigDocument(String jobConfigDocument) The JSON configuration document for the job.jobConfigSchemaVersion(String jobConfigSchemaVersion) The schema version used for the job configuration document.The name of the job.The current status of the job.The current status of the job.lastModifiedTime(Instant lastModifiedTime) The date and time that the job was last modified.The ARN of the IAM role associated with the job.secondaryStatus(String secondaryStatus) The detailed secondary status of the job, providing more granular information about the job's progress.secondaryStatus(JobSecondaryStatus secondaryStatus) The detailed secondary status of the job, providing more granular information about the job's progress.secondaryStatusTransitions(Collection<JobSecondaryStatusTransition> secondaryStatusTransitions) A list of secondary status transitions for the job, with timestamps and optional status messages.secondaryStatusTransitions(Consumer<JobSecondaryStatusTransition.Builder>... secondaryStatusTransitions) A list of secondary status transitions for the job, with timestamps and optional status messages.secondaryStatusTransitions(JobSecondaryStatusTransition... secondaryStatusTransitions) A list of secondary status transitions for the job, with timestamps and optional status messages.tags(Collection<Tag> tags) The tags associated with the job.tags(Consumer<Tag.Builder>... tags) The tags associated with the job.The tags associated with the job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
jobName
The name of the job.
- Parameters:
jobName- The name of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobArn
The Amazon Resource Name (ARN) of the job.
- Parameters:
jobArn- The Amazon Resource Name (ARN) of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The ARN of the IAM role associated with the job.
- Parameters:
roleArn- The ARN of the IAM role associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobCategory
The category of the job.
- Parameters:
jobCategory- The category of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobCategory
The category of the job.
- Parameters:
jobCategory- The category of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobConfigSchemaVersion
The schema version used for the job configuration document.
- Parameters:
jobConfigSchemaVersion- The schema version used for the job configuration document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobConfigDocument
The JSON configuration document for the job.
- Parameters:
jobConfigDocument- The JSON configuration document for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time that the job was created.
- Parameters:
creationTime- The date and time that the job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The date and time that the job was last modified.
- Parameters:
lastModifiedTime- The date and time that the job was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The date and time that the job ended.
- Parameters:
endTime- The date and time that the job ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobStatus
The current status of the job.
- Parameters:
jobStatus- The current status of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobStatus
The current status of the job.
- Parameters:
jobStatus- The current status of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondaryStatus
The detailed secondary status of the job, providing more granular information about the job's progress.
- Parameters:
secondaryStatus- The detailed secondary status of the job, providing more granular information about the job's progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondaryStatus
The detailed secondary status of the job, providing more granular information about the job's progress.
- Parameters:
secondaryStatus- The detailed secondary status of the job, providing more granular information about the job's progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondaryStatusTransitions
Job.Builder secondaryStatusTransitions(Collection<JobSecondaryStatusTransition> secondaryStatusTransitions) A list of secondary status transitions for the job, with timestamps and optional status messages.
- Parameters:
secondaryStatusTransitions- A list of secondary status transitions for the job, with timestamps and optional status messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryStatusTransitions
A list of secondary status transitions for the job, with timestamps and optional status messages.
- Parameters:
secondaryStatusTransitions- A list of secondary status transitions for the job, with timestamps and optional status messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryStatusTransitions
Job.Builder secondaryStatusTransitions(Consumer<JobSecondaryStatusTransition.Builder>... secondaryStatusTransitions) A list of secondary status transitions for the job, with timestamps and optional status messages.
This is a convenience method that creates an instance of theJobSecondaryStatusTransition.Builderavoiding the need to create one manually viaJobSecondaryStatusTransition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondaryStatusTransitions(List<JobSecondaryStatusTransition>).- Parameters:
secondaryStatusTransitions- a consumer that will call methods onJobSecondaryStatusTransition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
If the job failed, the reason it failed.
- Parameters:
failureReason- If the job failed, the reason it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the job.
- Parameters:
tags- The tags associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the job.
- Parameters:
tags- The tags associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the job.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-