@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 Instant createdAt()
The time at which the task was created.
public String deviceArn()
The ARN of the device the task was run on.
public String deviceParameters()
The parameters for the device on which the task ran.
public Instant endedAt()
The time at which the task ended.
public String failureReason()
The reason that a task failed.
public String outputS3Bucket()
The S3 bucket where task results are stored.
public String outputS3Directory()
The folder in the S3 bucket where task results are stored.
public String quantumTaskArn()
The ARN of the task.
public Long shots()
The number of shots used in the task.
public 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 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 boolean hasTags()
public 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 int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.