@Generated(value="software.amazon.awssdk:codegen") public final class TaskListItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskListItem.Builder,TaskListItem>
A workflow run task.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TaskListItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TaskListItem.Builder |
builder() |
Integer |
cpus()
The task's CPU count.
|
Instant |
creationTime()
When the task was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Integer |
gpus()
The number of Graphics Processing Units (GPU) specified for the task.
|
int |
hashCode() |
Integer |
memory()
The task's memory use in gigabyes.
|
String |
name()
The task's name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TaskListItem.Builder> |
serializableBuilderClass() |
Instant |
startTime()
When the task started.
|
TaskStatus |
status()
The task's status.
|
String |
statusAsString()
The task's status.
|
Instant |
stopTime()
When the task stopped.
|
String |
taskId()
The task's ID.
|
TaskListItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String taskId()
The task's ID.
public final TaskStatus status()
The task's status.
If the service returns an enum value that is not available in the current SDK version, status will
return TaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TaskStatuspublic final String statusAsString()
The task's status.
If the service returns an enum value that is not available in the current SDK version, status will
return TaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TaskStatuspublic final String name()
The task's name.
public final Integer cpus()
The task's CPU count.
public final Integer memory()
The task's memory use in gigabyes.
public final Instant creationTime()
When the task was created.
public final Instant startTime()
When the task started.
public final Instant stopTime()
When the task stopped.
public final Integer gpus()
The number of Graphics Processing Units (GPU) specified for the task.
public TaskListItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TaskListItem.Builder,TaskListItem>public static TaskListItem.Builder builder()
public static Class<? extends TaskListItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.