Interface JobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobSummary.Builder,
,JobSummary> SdkBuilder<JobSummary.Builder,
,JobSummary> SdkPojo
- Enclosing class:
JobSummary
-
Method Summary
Modifier and TypeMethodDescriptiondefault JobSummary.Builder
arrayProperties
(Consumer<ArrayPropertiesSummary.Builder> arrayProperties) The array properties of the job, if it's an array job.arrayProperties
(ArrayPropertiesSummary arrayProperties) The array properties of the job, if it's an array job.default JobSummary.Builder
container
(Consumer<ContainerSummary.Builder> container) An object that represents the details of the container that's associated with the job.container
(ContainerSummary container) An object that represents the details of the container that's associated with the job.The Unix timestamp (in milliseconds) for when the job was created.The Amazon Resource Name (ARN) of the job.jobDefinition
(String jobDefinition) The Amazon Resource Name (ARN) of the job definition.The job ID.The job name.default JobSummary.Builder
nodeProperties
(Consumer<NodePropertiesSummary.Builder> nodeProperties) The node properties for a single node in a job summary list.nodeProperties
(NodePropertiesSummary nodeProperties) The node properties for a single node in a job summary list.The Unix timestamp for when the job was started.The current status for the job.The current status for the job.statusReason
(String statusReason) A short, human-readable string to provide more details for the current status of the job.The Unix timestamp for when the job was stopped.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 Details
-
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.
-
jobId
The job ID.
- Parameters:
jobId
- The job ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
The job name.
- Parameters:
jobName
- The job name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the
SUBMITTED
state (at the time SubmitJob was called). For array child jobs, this is when the child job was spawned by its parent and entered thePENDING
state.- Parameters:
createdAt
- The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs, this is when the job entered theSUBMITTED
state (at the time SubmitJob was called). For array child jobs, this is when the child job was spawned by its parent and entered thePENDING
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status for the job.
- Parameters:
status
- The current status for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status for the job.
- Parameters:
status
- The current status for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
A short, human-readable string to provide more details for the current status of the job.
- Parameters:
statusReason
- A short, human-readable string to provide more details for the current status of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from the
STARTING
state to theRUNNING
state.- Parameters:
startedAt
- The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from theSTARTING
state to theRUNNING
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppedAt
The Unix timestamp for when the job was stopped. More specifically, it's when the job transitioned from the
RUNNING
state to a terminal state, such asSUCCEEDED
orFAILED
.- Parameters:
stoppedAt
- The Unix timestamp for when the job was stopped. More specifically, it's when the job transitioned from theRUNNING
state to a terminal state, such asSUCCEEDED
orFAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
container
An object that represents the details of the container that's associated with the job.
- Parameters:
container
- An object that represents the details of the container that's associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
container
An object that represents the details of the container that's associated with the job.
This is a convenience method that creates an instance of theContainerSummary.Builder
avoiding the need to create one manually viaContainerSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainer(ContainerSummary)
.- Parameters:
container
- a consumer that will call methods onContainerSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arrayProperties
The array properties of the job, if it's an array job.
- Parameters:
arrayProperties
- The array properties of the job, if it's an array job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arrayProperties
default JobSummary.Builder arrayProperties(Consumer<ArrayPropertiesSummary.Builder> arrayProperties) The array properties of the job, if it's an array job.
This is a convenience method that creates an instance of theArrayPropertiesSummary.Builder
avoiding the need to create one manually viaArrayPropertiesSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toarrayProperties(ArrayPropertiesSummary)
.- Parameters:
arrayProperties
- a consumer that will call methods onArrayPropertiesSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeProperties
The node properties for a single node in a job summary list.
This isn't applicable to jobs that are running on Fargate resources.
- Parameters:
nodeProperties
- The node properties for a single node in a job summary list.This isn't applicable to jobs that are running on Fargate resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeProperties
The node properties for a single node in a job summary list.
This isn't applicable to jobs that are running on Fargate resources.
NodePropertiesSummary.Builder
avoiding the need to create one manually viaNodePropertiesSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeProperties(NodePropertiesSummary)
.- Parameters:
nodeProperties
- a consumer that will call methods onNodePropertiesSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobDefinition
The Amazon Resource Name (ARN) of the job definition.
- Parameters:
jobDefinition
- The Amazon Resource Name (ARN) of the job definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-