Class TaskListItem
- java.lang.Object
-
- software.amazon.awssdk.services.omics.model.TaskListItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaskListItem.Builder,TaskListItem>
@Generated("software.amazon.awssdk:codegen") public final class TaskListItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskListItem.Builder,TaskListItem>
A workflow run task.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTaskListItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskListItem.Builderbuilder()BooleancacheHit()Set to true if AWS HealthOmics found a matching entry in the run cache for this task.StringcacheS3Uri()The S3 URI of the cache location.Integercpus()The task's CPU count.InstantcreationTime()When the task was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)Integergpus()The number of Graphics Processing Units (GPU) specified for the task.inthashCode()StringinstanceType()The instance type for a task.Integermemory()The task's memory use in gigabyes.Stringname()The task's name.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TaskListItem.Builder>serializableBuilderClass()InstantstartTime()When the task started.TaskStatusstatus()The task's status.StringstatusAsString()The task's status.InstantstopTime()When the task stopped.StringtaskId()The task's ID.TaskListItem.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
-
taskId
public final String taskId()
The task's ID.
- Returns:
- The task's ID.
-
status
public final TaskStatus status()
The task's status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The task's status.
- See Also:
TaskStatus
-
statusAsString
public final String statusAsString()
The task's status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The task's status.
- See Also:
TaskStatus
-
name
public final String name()
The task's name.
- Returns:
- The task's name.
-
cpus
public final Integer cpus()
The task's CPU count.
- Returns:
- The task's CPU count.
-
cacheHit
public final Boolean cacheHit()
Set to true if AWS HealthOmics found a matching entry in the run cache for this task.
- Returns:
- Set to true if AWS HealthOmics found a matching entry in the run cache for this task.
-
cacheS3Uri
public final String cacheS3Uri()
The S3 URI of the cache location.
- Returns:
- The S3 URI of the cache location.
-
memory
public final Integer memory()
The task's memory use in gigabyes.
- Returns:
- The task's memory use in gigabyes.
-
creationTime
public final Instant creationTime()
When the task was created.
- Returns:
- When the task was created.
-
startTime
public final Instant startTime()
When the task started.
- Returns:
- When the task started.
-
stopTime
public final Instant stopTime()
When the task stopped.
- Returns:
- When the task stopped.
-
gpus
public final Integer gpus()
The number of Graphics Processing Units (GPU) specified for the task.
- Returns:
- The number of Graphics Processing Units (GPU) specified for the task.
-
instanceType
public final String instanceType()
The instance type for a task.
- Returns:
- The instance type for a task.
-
toBuilder
public TaskListItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TaskListItem.Builder,TaskListItem>
-
builder
public static TaskListItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends TaskListItem.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
-
-