@Generated(value="software.amazon.awssdk:codegen") public final class GetQuantumTaskResponse extends BraketResponse implements ToCopyableBuilder<GetQuantumTaskResponse.Builder,GetQuantumTaskResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetQuantumTaskResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetQuantumTaskResponse.Builder |
builder() |
Instant |
createdAt()
The time at which the task was created.
|
String |
deviceArn()
The ARN of the device the task was run on.
|
String |
deviceParameters()
The parameters for the device on which the task ran.
|
Instant |
endedAt()
The time at which the task ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
The reason that a task failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
outputS3Bucket()
The S3 bucket where task results are stored.
|
String |
outputS3Directory()
The folder in the S3 bucket where task results are stored.
|
String |
quantumTaskArn()
The ARN of the task.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetQuantumTaskResponse.Builder> |
serializableBuilderClass() |
Long |
shots()
The number of shots used in the task.
|
QuantumTaskStatus |
status()
The status of the task.
|
String |
statusAsString()
The status of the task.
|
Map<String,String> |
tags()
The tags that belong to this task.
|
GetQuantumTaskResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The time at which the task was created.
public final String deviceArn()
The ARN of the device the task was run on.
public final String deviceParameters()
The parameters for the device on which the task ran.
public final Instant endedAt()
The time at which the task ended.
public final String failureReason()
The reason that a task failed.
public final String outputS3Bucket()
The S3 bucket where task results are stored.
public final String outputS3Directory()
The folder in the S3 bucket where task results are stored.
public final String quantumTaskArn()
The ARN of the task.
public final Long shots()
The number of shots used in the task.
public final QuantumTaskStatus status()
The status of the task.
If the service returns an enum value that is not available in the current SDK version, status will
return QuantumTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
QuantumTaskStatuspublic final String statusAsString()
The status of the task.
If the service returns an enum value that is not available in the current SDK version, status will
return QuantumTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
QuantumTaskStatuspublic final boolean hasTags()
public final Map<String,String> tags()
The tags that belong to this task.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public GetQuantumTaskResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetQuantumTaskResponse.Builder,GetQuantumTaskResponse>toBuilder in class AwsResponsepublic static GetQuantumTaskResponse.Builder builder()
public static Class<? extends GetQuantumTaskResponse.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 © 2021. All rights reserved.