Class GetRunTaskResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.omics.model.OmicsResponse
-
- software.amazon.awssdk.services.omics.model.GetRunTaskResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRunTaskResponse.Builder,GetRunTaskResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetRunTaskResponse extends OmicsResponse implements ToCopyableBuilder<GetRunTaskResponse.Builder,GetRunTaskResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetRunTaskResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetRunTaskResponse.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 usage.InstantcreationTime()When the task was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()The reason a task has failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)Integergpus()The number of Graphics Processing Units (GPU) specified in the task.inthashCode()StringinstanceType()The instance type for a task.StringlogStream()The task's log stream.Integermemory()The task's memory use in gigabytes.Stringname()The task's name.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetRunTaskResponse.Builder>serializableBuilderClass()InstantstartTime()The task's start time.TaskStatusstatus()The task's status.StringstatusAsString()The task's status.StringstatusMessage()The task's status message.InstantstopTime()The task's stop time.StringtaskId()The task's ID.GetRunTaskResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.omics.model.OmicsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 usage.
- Returns:
- The task's CPU usage.
-
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 gigabytes.
- Returns:
- The task's memory use in gigabytes.
-
creationTime
public final Instant creationTime()
When the task was created.
- Returns:
- When the task was created.
-
startTime
public final Instant startTime()
The task's start time.
- Returns:
- The task's start time.
-
stopTime
public final Instant stopTime()
The task's stop time.
- Returns:
- The task's stop time.
-
statusMessage
public final String statusMessage()
The task's status message.
- Returns:
- The task's status message.
-
logStream
public final String logStream()
The task's log stream.
- Returns:
- The task's log stream.
-
gpus
public final Integer gpus()
The number of Graphics Processing Units (GPU) specified in the task.
- Returns:
- The number of Graphics Processing Units (GPU) specified in the task.
-
instanceType
public final String instanceType()
The instance type for a task.
- Returns:
- The instance type for a task.
-
failureReason
public final String failureReason()
The reason a task has failed.
- Returns:
- The reason a task has failed.
-
toBuilder
public GetRunTaskResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRunTaskResponse.Builder,GetRunTaskResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetRunTaskResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetRunTaskResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-