@Generated(value="software.amazon.awssdk:codegen") public final class GetRunTaskResponse extends OmicsResponse implements ToCopyableBuilder<GetRunTaskResponse.Builder,GetRunTaskResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetRunTaskResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetRunTaskResponse.Builder |
builder() |
Integer |
cpus()
The task's CPU usage.
|
Instant |
creationTime()
When the task was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
The reason a task has failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Integer |
gpus()
The number of Graphics Processing Units (GPU) specified in the task.
|
int |
hashCode() |
String |
instanceType()
The instance type for a task.
|
String |
logStream()
The task's log stream.
|
Integer |
memory()
The task's memory use in gigabytes.
|
String |
name()
The task's name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRunTaskResponse.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The task's start time.
|
TaskStatus |
status()
The task's status.
|
String |
statusAsString()
The task's status.
|
String |
statusMessage()
The task's status message.
|
Instant |
stopTime()
The task's stop time.
|
String |
taskId()
The task's ID.
|
GetRunTaskResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, 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 usage.
public final Integer memory()
The task's memory use in gigabytes.
public final Instant creationTime()
When the task was created.
public final Instant startTime()
The task's start time.
public final Instant stopTime()
The task's stop time.
public final String statusMessage()
The task's status message.
public final String logStream()
The task's log stream.
public final Integer gpus()
The number of Graphics Processing Units (GPU) specified in the task.
public final String instanceType()
The instance type for a task.
public final String failureReason()
The reason a task has failed.
public GetRunTaskResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetRunTaskResponse.Builder,GetRunTaskResponse>toBuilder in class AwsResponsepublic static GetRunTaskResponse.Builder builder()
public static Class<? extends GetRunTaskResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.