Interface GetRunTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRunTaskResponse.Builder,
,GetRunTaskResponse> OmicsResponse.Builder
,SdkBuilder<GetRunTaskResponse.Builder,
,GetRunTaskResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRunTaskResponse
public static interface GetRunTaskResponse.Builder
extends OmicsResponse.Builder, SdkPojo, CopyableBuilder<GetRunTaskResponse.Builder,GetRunTaskResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe task's CPU usage.creationTime
(Instant creationTime) When the task was created.failureReason
(String failureReason) The reason a task has failed.The number of Graphics Processing Units (GPU) specified in the task.instanceType
(String instanceType) The instance type for a task.The task's log stream.The task's memory use in gigabytes.The task's name.The task's start time.The task's status.status
(TaskStatus status) The task's status.statusMessage
(String statusMessage) The task's status message.The task's stop time.The task's ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.omics.model.OmicsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
taskId
The task's ID.
- Parameters:
taskId
- The task's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The task's status.
- Parameters:
status
- The task's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The task's status.
- Parameters:
status
- The task's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The task's name.
- Parameters:
name
- The task's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpus
The task's CPU usage.
- Parameters:
cpus
- The task's CPU usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memory
The task's memory use in gigabytes.
- Parameters:
memory
- The task's memory use in gigabytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
When the task was created.
- Parameters:
creationTime
- When the task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The task's start time.
- Parameters:
startTime
- The task's start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopTime
The task's stop time.
- Parameters:
stopTime
- The task's stop time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
The task's status message.
- Parameters:
statusMessage
- The task's status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logStream
The task's log stream.
- Parameters:
logStream
- The task's log stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gpus
The number of Graphics Processing Units (GPU) specified in the task.
- Parameters:
gpus
- The number of Graphics Processing Units (GPU) specified in the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type for a task.
- Parameters:
instanceType
- The instance type for a task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The reason a task has failed.
- Parameters:
failureReason
- The reason a task has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-