Interface ListJobsByConsumableResourceSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListJobsByConsumableResourceSummary.Builder,ListJobsByConsumableResourceSummary>,SdkBuilder<ListJobsByConsumableResourceSummary.Builder,ListJobsByConsumableResourceSummary>,SdkPojo
- Enclosing class:
- ListJobsByConsumableResourceSummary
public static interface ListJobsByConsumableResourceSummary.Builder extends SdkPojo, CopyableBuilder<ListJobsByConsumableResourceSummary.Builder,ListJobsByConsumableResourceSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListJobsByConsumableResourceSummary.BuilderconsumableResourceProperties(Consumer<ConsumableResourceProperties.Builder> consumableResourceProperties)Contains a list of consumable resources required by the job.ListJobsByConsumableResourceSummary.BuilderconsumableResourceProperties(ConsumableResourceProperties consumableResourceProperties)Contains a list of consumable resources required by the job.ListJobsByConsumableResourceSummary.BuildercreatedAt(Long createdAt)The Unix timestamp (in milliseconds) for when the consumable resource was created.ListJobsByConsumableResourceSummary.BuilderjobArn(String jobArn)The Amazon Resource Name (ARN) of the job.ListJobsByConsumableResourceSummary.BuilderjobDefinitionArn(String jobDefinitionArn)The Amazon Resource Name (ARN) of the job definition.ListJobsByConsumableResourceSummary.BuilderjobName(String jobName)The name of the job.ListJobsByConsumableResourceSummary.BuilderjobQueueArn(String jobQueueArn)The Amazon Resource Name (ARN) of the job queue.ListJobsByConsumableResourceSummary.BuilderjobStatus(String jobStatus)The status of the job.ListJobsByConsumableResourceSummary.Builderquantity(Long quantity)The total amount of the consumable resource that is available.ListJobsByConsumableResourceSummary.BuildershareIdentifier(String shareIdentifier)The fair-share scheduling policy identifier for the job.ListJobsByConsumableResourceSummary.BuilderstartedAt(Long startedAt)The Unix timestamp for when the job was started.ListJobsByConsumableResourceSummary.BuilderstatusReason(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 Detail
-
jobArn
ListJobsByConsumableResourceSummary.Builder jobArn(String 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
ListJobsByConsumableResourceSummary.Builder jobQueueArn(String 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
ListJobsByConsumableResourceSummary.Builder jobName(String 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
ListJobsByConsumableResourceSummary.Builder jobDefinitionArn(String 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.
-
shareIdentifier
ListJobsByConsumableResourceSummary.Builder shareIdentifier(String shareIdentifier)
The fair-share scheduling policy identifier for the job.
- Parameters:
shareIdentifier- The fair-share scheduling policy identifier for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobStatus
ListJobsByConsumableResourceSummary.Builder jobStatus(String 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
ListJobsByConsumableResourceSummary.Builder quantity(Long 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
ListJobsByConsumableResourceSummary.Builder statusReason(String 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
ListJobsByConsumableResourceSummary.Builder startedAt(Long startedAt)
The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from the
STARTINGstate to theRUNNINGstate.- Parameters:
startedAt- The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from theSTARTINGstate to theRUNNINGstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
ListJobsByConsumableResourceSummary.Builder createdAt(Long 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.Builderavoiding the need to create one manually viaConsumableResourceProperties.builder().When the
Consumercompletes,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:
consumableResourceProperties(ConsumableResourceProperties)
-
-