Class ListJobsByConsumableResourceSummary
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.ListJobsByConsumableResourceSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListJobsByConsumableResourceSummary.Builder,ListJobsByConsumableResourceSummary>
@Generated("software.amazon.awssdk:codegen") public final class ListJobsByConsumableResourceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListJobsByConsumableResourceSummary.Builder,ListJobsByConsumableResourceSummary>
Current information about a consumable resource required by a job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListJobsByConsumableResourceSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListJobsByConsumableResourceSummary.Builderbuilder()ConsumableResourcePropertiesconsumableResourceProperties()Contains a list of consumable resources required by the job.LongcreatedAt()The Unix timestamp (in milliseconds) for when the consumable resource was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobArn()The Amazon Resource Name (ARN) of the job.StringjobDefinitionArn()The Amazon Resource Name (ARN) of the job definition.StringjobName()The name of the job.StringjobQueueArn()The Amazon Resource Name (ARN) of the job queue.StringjobStatus()The status of the job.Longquantity()The total amount of the consumable resource that is available.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListJobsByConsumableResourceSummary.Builder>serializableBuilderClass()StringshareIdentifier()The fair-share scheduling policy identifier for the job.LongstartedAt()The Unix timestamp for when the job was started.StringstatusReason()A short, human-readable string to provide more details for the current status of the job.ListJobsByConsumableResourceSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
jobArn
public final String jobArn()
The Amazon Resource Name (ARN) of the job.
- Returns:
- The Amazon Resource Name (ARN) of the job.
-
jobQueueArn
public final String jobQueueArn()
The Amazon Resource Name (ARN) of the job queue.
- Returns:
- The Amazon Resource Name (ARN) of the job queue.
-
jobName
public final String jobName()
The name of the job.
- Returns:
- The name of the job.
-
jobDefinitionArn
public final String jobDefinitionArn()
The Amazon Resource Name (ARN) of the job definition.
- Returns:
- The Amazon Resource Name (ARN) of the job definition.
-
shareIdentifier
public final String shareIdentifier()
The fair-share scheduling policy identifier for the job.
- Returns:
- The fair-share scheduling policy identifier for the job.
-
jobStatus
public final String 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
public final Long quantity()
The total amount of the consumable resource that is available.
- Returns:
- The total amount of the consumable resource that is available.
-
statusReason
public final String 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
public final Long startedAt()
The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from the
STARTINGstate to theRUNNINGstate.- Returns:
- The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from
the
STARTINGstate to theRUNNINGstate.
-
createdAt
public final Long 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
public final ConsumableResourceProperties consumableResourceProperties()
Contains a list of consumable resources required by the job.
- Returns:
- Contains a list of consumable resources required by the job.
-
toBuilder
public ListJobsByConsumableResourceSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListJobsByConsumableResourceSummary.Builder,ListJobsByConsumableResourceSummary>
-
builder
public static ListJobsByConsumableResourceSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListJobsByConsumableResourceSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-