@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetQuantumTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetQuantumTaskResult() |
Modifier and Type | Method and Description |
---|---|
GetQuantumTaskResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetQuantumTaskResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetQuantumTaskResult |
clone() |
boolean |
equals(Object obj) |
List<Association> |
getAssociations()
The list of Amazon Braket resources associated with the quantum task.
|
Date |
getCreatedAt()
The time at which the task was created.
|
String |
getDeviceArn()
The ARN of the device the task was run on.
|
String |
getDeviceParameters()
The parameters for the device on which the task ran.
|
Date |
getEndedAt()
The time at which the task ended.
|
String |
getFailureReason()
The reason that a task failed.
|
String |
getJobArn()
The ARN of the Amazon Braket job associated with the quantum task.
|
String |
getOutputS3Bucket()
The S3 bucket where task results are stored.
|
String |
getOutputS3Directory()
The folder in the S3 bucket where task results are stored.
|
String |
getQuantumTaskArn()
The ARN of the task.
|
QuantumTaskQueueInfo |
getQueueInfo()
Queue information for the requested quantum task.
|
Long |
getShots()
The number of shots used in the task.
|
String |
getStatus()
The status of the task.
|
Map<String,String> |
getTags()
The tags that belong to this task.
|
int |
hashCode() |
void |
setAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the quantum task.
|
void |
setCreatedAt(Date createdAt)
The time at which the task was created.
|
void |
setDeviceArn(String deviceArn)
The ARN of the device the task was run on.
|
void |
setDeviceParameters(String deviceParameters)
The parameters for the device on which the task ran.
|
void |
setEndedAt(Date endedAt)
The time at which the task ended.
|
void |
setFailureReason(String failureReason)
The reason that a task failed.
|
void |
setJobArn(String jobArn)
The ARN of the Amazon Braket job associated with the quantum task.
|
void |
setOutputS3Bucket(String outputS3Bucket)
The S3 bucket where task results are stored.
|
void |
setOutputS3Directory(String outputS3Directory)
The folder in the S3 bucket where task results are stored.
|
void |
setQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
|
void |
setQueueInfo(QuantumTaskQueueInfo queueInfo)
Queue information for the requested quantum task.
|
void |
setShots(Long shots)
The number of shots used in the task.
|
void |
setStatus(String status)
The status of the task.
|
void |
setTags(Map<String,String> tags)
The tags that belong to this task.
|
String |
toString()
Returns a string representation of this object.
|
GetQuantumTaskResult |
withAssociations(Association... associations)
The list of Amazon Braket resources associated with the quantum task.
|
GetQuantumTaskResult |
withAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the quantum task.
|
GetQuantumTaskResult |
withCreatedAt(Date createdAt)
The time at which the task was created.
|
GetQuantumTaskResult |
withDeviceArn(String deviceArn)
The ARN of the device the task was run on.
|
GetQuantumTaskResult |
withDeviceParameters(String deviceParameters)
The parameters for the device on which the task ran.
|
GetQuantumTaskResult |
withEndedAt(Date endedAt)
The time at which the task ended.
|
GetQuantumTaskResult |
withFailureReason(String failureReason)
The reason that a task failed.
|
GetQuantumTaskResult |
withJobArn(String jobArn)
The ARN of the Amazon Braket job associated with the quantum task.
|
GetQuantumTaskResult |
withOutputS3Bucket(String outputS3Bucket)
The S3 bucket where task results are stored.
|
GetQuantumTaskResult |
withOutputS3Directory(String outputS3Directory)
The folder in the S3 bucket where task results are stored.
|
GetQuantumTaskResult |
withQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
|
GetQuantumTaskResult |
withQueueInfo(QuantumTaskQueueInfo queueInfo)
Queue information for the requested quantum task.
|
GetQuantumTaskResult |
withShots(Long shots)
The number of shots used in the task.
|
GetQuantumTaskResult |
withStatus(QuantumTaskStatus status)
The status of the task.
|
GetQuantumTaskResult |
withStatus(String status)
The status of the task.
|
GetQuantumTaskResult |
withTags(Map<String,String> tags)
The tags that belong to this task.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Association> getAssociations()
The list of Amazon Braket resources associated with the quantum task.
public void setAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the quantum task.
associations
- The list of Amazon Braket resources associated with the quantum task.public GetQuantumTaskResult withAssociations(Association... associations)
The list of Amazon Braket resources associated with the quantum task.
NOTE: This method appends the values to the existing list (if any). Use
setAssociations(java.util.Collection)
or withAssociations(java.util.Collection)
if you want to
override the existing values.
associations
- The list of Amazon Braket resources associated with the quantum task.public GetQuantumTaskResult withAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the quantum task.
associations
- The list of Amazon Braket resources associated with the quantum task.public void setCreatedAt(Date createdAt)
The time at which the task was created.
createdAt
- The time at which the task was created.public Date getCreatedAt()
The time at which the task was created.
public GetQuantumTaskResult withCreatedAt(Date createdAt)
The time at which the task was created.
createdAt
- The time at which the task was created.public void setDeviceArn(String deviceArn)
The ARN of the device the task was run on.
deviceArn
- The ARN of the device the task was run on.public String getDeviceArn()
The ARN of the device the task was run on.
public GetQuantumTaskResult withDeviceArn(String deviceArn)
The ARN of the device the task was run on.
deviceArn
- The ARN of the device the task was run on.public void setDeviceParameters(String deviceParameters)
The parameters for the device on which the task ran.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
deviceParameters
- The parameters for the device on which the task ran.public String getDeviceParameters()
The parameters for the device on which the task ran.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
public GetQuantumTaskResult withDeviceParameters(String deviceParameters)
The parameters for the device on which the task ran.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
deviceParameters
- The parameters for the device on which the task ran.public void setEndedAt(Date endedAt)
The time at which the task ended.
endedAt
- The time at which the task ended.public Date getEndedAt()
The time at which the task ended.
public GetQuantumTaskResult withEndedAt(Date endedAt)
The time at which the task ended.
endedAt
- The time at which the task ended.public void setFailureReason(String failureReason)
The reason that a task failed.
failureReason
- The reason that a task failed.public String getFailureReason()
The reason that a task failed.
public GetQuantumTaskResult withFailureReason(String failureReason)
The reason that a task failed.
failureReason
- The reason that a task failed.public void setJobArn(String jobArn)
The ARN of the Amazon Braket job associated with the quantum task.
jobArn
- The ARN of the Amazon Braket job associated with the quantum task.public String getJobArn()
The ARN of the Amazon Braket job associated with the quantum task.
public GetQuantumTaskResult withJobArn(String jobArn)
The ARN of the Amazon Braket job associated with the quantum task.
jobArn
- The ARN of the Amazon Braket job associated with the quantum task.public void setOutputS3Bucket(String outputS3Bucket)
The S3 bucket where task results are stored.
outputS3Bucket
- The S3 bucket where task results are stored.public String getOutputS3Bucket()
The S3 bucket where task results are stored.
public GetQuantumTaskResult withOutputS3Bucket(String outputS3Bucket)
The S3 bucket where task results are stored.
outputS3Bucket
- The S3 bucket where task results are stored.public void setOutputS3Directory(String outputS3Directory)
The folder in the S3 bucket where task results are stored.
outputS3Directory
- The folder in the S3 bucket where task results are stored.public String getOutputS3Directory()
The folder in the S3 bucket where task results are stored.
public GetQuantumTaskResult withOutputS3Directory(String outputS3Directory)
The folder in the S3 bucket where task results are stored.
outputS3Directory
- The folder in the S3 bucket where task results are stored.public void setQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
quantumTaskArn
- The ARN of the task.public String getQuantumTaskArn()
The ARN of the task.
public GetQuantumTaskResult withQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
quantumTaskArn
- The ARN of the task.public void setQueueInfo(QuantumTaskQueueInfo queueInfo)
Queue information for the requested quantum task. Only returned if QueueInfo
is specified in the
additionalAttributeNames"
field in the GetQuantumTask
API request.
queueInfo
- Queue information for the requested quantum task. Only returned if QueueInfo
is specified in
the additionalAttributeNames"
field in the GetQuantumTask
API request.public QuantumTaskQueueInfo getQueueInfo()
Queue information for the requested quantum task. Only returned if QueueInfo
is specified in the
additionalAttributeNames"
field in the GetQuantumTask
API request.
QueueInfo
is specified in
the additionalAttributeNames"
field in the GetQuantumTask
API request.public GetQuantumTaskResult withQueueInfo(QuantumTaskQueueInfo queueInfo)
Queue information for the requested quantum task. Only returned if QueueInfo
is specified in the
additionalAttributeNames"
field in the GetQuantumTask
API request.
queueInfo
- Queue information for the requested quantum task. Only returned if QueueInfo
is specified in
the additionalAttributeNames"
field in the GetQuantumTask
API request.public void setShots(Long shots)
The number of shots used in the task.
shots
- The number of shots used in the task.public Long getShots()
The number of shots used in the task.
public GetQuantumTaskResult withShots(Long shots)
The number of shots used in the task.
shots
- The number of shots used in the task.public void setStatus(String status)
The status of the task.
status
- The status of the task.QuantumTaskStatus
public String getStatus()
The status of the task.
QuantumTaskStatus
public GetQuantumTaskResult withStatus(String status)
The status of the task.
status
- The status of the task.QuantumTaskStatus
public GetQuantumTaskResult withStatus(QuantumTaskStatus status)
The status of the task.
status
- The status of the task.QuantumTaskStatus
public Map<String,String> getTags()
The tags that belong to this task.
public void setTags(Map<String,String> tags)
The tags that belong to this task.
tags
- The tags that belong to this task.public GetQuantumTaskResult withTags(Map<String,String> tags)
The tags that belong to this task.
tags
- The tags that belong to this task.public GetQuantumTaskResult addTagsEntry(String key, String value)
public GetQuantumTaskResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetQuantumTaskResult clone()