Interface ListJobsByConsumableResourceSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ListJobsByConsumableResourceSummary.Builder,
,ListJobsByConsumableResourceSummary> SdkBuilder<ListJobsByConsumableResourceSummary.Builder,
,ListJobsByConsumableResourceSummary> SdkPojo
- Enclosing class:
ListJobsByConsumableResourceSummary
-
Method Summary
Modifier and TypeMethodDescriptionconsumableResourceProperties
(Consumer<ConsumableResourceProperties.Builder> consumableResourceProperties) Contains a list of consumable resources required by the job.consumableResourceProperties
(ConsumableResourceProperties consumableResourceProperties) Contains a list of consumable resources required by the job.The Unix timestamp (in milliseconds) for when the consumable resource was created.The Amazon Resource Name (ARN) of the job.jobDefinitionArn
(String jobDefinitionArn) The Amazon Resource Name (ARN) of the job definition.The name of the job.jobQueueArn
(String jobQueueArn) The Amazon Resource Name (ARN) of the job queue.The status of the job.The total amount of the consumable resource that is available.shareIdentifier
(String shareIdentifier) The fair-share scheduling policy identifier for the job.The Unix timestamp for when the job was started.statusReason
(String statusReason) A short, human-readable string to provide more details for the current status 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
-
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.
-
jobQueueArn
The Amazon Resource Name (ARN) of the job queue.
- Parameters:
jobQueueArn
- The Amazon Resource Name (ARN) of the job queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
jobDefinitionArn
The Amazon Resource Name (ARN) of the job definition.
- Parameters:
jobDefinitionArn
- The Amazon Resource Name (ARN) of the job definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobStatus
The status of the job. Can be one of:
-
SUBMITTED
-
PENDING
-
RUNNABLE
-
STARTING
-
RUNNING
-
SUCCEEDED
-
FAILED
- Parameters:
jobStatus
- The status of the job. Can be one of:-
SUBMITTED
-
PENDING
-
RUNNABLE
-
STARTING
-
RUNNING
-
SUCCEEDED
-
FAILED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
quantity
The total amount of the consumable resource that is available.
- Parameters:
quantity
- The total amount of the consumable resource that is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
createdAt
The Unix timestamp (in milliseconds) for when the consumable resource was created.
- Parameters:
createdAt
- The Unix timestamp (in milliseconds) for when the consumable resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumableResourceProperties
ListJobsByConsumableResourceSummary.Builder consumableResourceProperties(ConsumableResourceProperties consumableResourceProperties) Contains a list of consumable resources required by the job.
- Parameters:
consumableResourceProperties
- Contains a list of consumable resources required by the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumableResourceProperties
default ListJobsByConsumableResourceSummary.Builder consumableResourceProperties(Consumer<ConsumableResourceProperties.Builder> consumableResourceProperties) Contains a list of consumable resources required by the job.
This is a convenience method that creates an instance of theConsumableResourceProperties.Builder
avoiding the need to create one manually viaConsumableResourceProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconsumableResourceProperties(ConsumableResourceProperties)
.- Parameters:
consumableResourceProperties
- a consumer that will call methods onConsumableResourceProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-