Class ListJobsByConsumableResourceSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ListJobsByConsumableResourceSummary.Builder,
ListJobsByConsumableResourceSummary>
Current information about a consumable resource required by a job.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Contains a list of consumable resources required by the job.final Long
The Unix timestamp (in milliseconds) for when the consumable resource was created.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
jobArn()
The Amazon Resource Name (ARN) of the job.final String
The Amazon Resource Name (ARN) of the job definition.final String
jobName()
The name of the job.final String
The Amazon Resource Name (ARN) of the job queue.final String
The status of the job.final Long
quantity()
The total amount of the consumable resource that is available.static Class
<? extends ListJobsByConsumableResourceSummary.Builder> final String
The fair-share scheduling policy identifier for the job.final Long
The Unix timestamp for when the job was started.final String
A short, human-readable string to provide more details for the current status of the job.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
jobArn
The Amazon Resource Name (ARN) of the job.
- Returns:
- The Amazon Resource Name (ARN) of the job.
-
jobQueueArn
The Amazon Resource Name (ARN) of the job queue.
- Returns:
- The Amazon Resource Name (ARN) of the job queue.
-
jobName
-
jobDefinitionArn
The Amazon Resource Name (ARN) of the job definition.
- Returns:
- The Amazon Resource Name (ARN) of the job definition.
-
jobStatus
The status of the job. Can be one of:
-
SUBMITTED
-
PENDING
-
RUNNABLE
-
STARTING
-
RUNNING
-
SUCCEEDED
-
FAILED
- Returns:
- The status of the job. Can be one of:
-
SUBMITTED
-
PENDING
-
RUNNABLE
-
STARTING
-
RUNNING
-
SUCCEEDED
-
FAILED
-
-
-
quantity
The total amount of the consumable resource that is available.
- Returns:
- The total amount of the consumable resource that is available.
-
statusReason
A short, human-readable string to provide more details for the current status of the job.
- Returns:
- A short, human-readable string to provide more details for the current status of the job.
-
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.- Returns:
- The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from
the
STARTING
state to theRUNNING
state.
-
createdAt
The Unix timestamp (in milliseconds) for when the consumable resource was created.
- Returns:
- The Unix timestamp (in milliseconds) for when the consumable resource was created.
-
consumableResourceProperties
Contains a list of consumable resources required by the job.
- Returns:
- Contains a list of consumable resources required by the job.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ListJobsByConsumableResourceSummary.Builder,
ListJobsByConsumableResourceSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends ListJobsByConsumableResourceSummary.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-