@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QuantumTaskSummary extends Object implements Serializable, Cloneable, StructuredPojo
Includes information about a quantum task.
Constructor and Description |
---|
QuantumTaskSummary() |
Modifier and Type | Method and Description |
---|---|
QuantumTaskSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
QuantumTaskSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
QuantumTaskSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The time at which the task was created.
|
String |
getDeviceArn()
The ARN of the device the task ran on.
|
Date |
getEndedAt()
The time at which the task finished.
|
String |
getOutputS3Bucket()
The S3 bucket where the task result file is stored..
|
String |
getOutputS3Directory()
The folder in the S3 bucket where the task result file is stored.
|
String |
getQuantumTaskArn()
The ARN of the task.
|
Long |
getShots()
The shots used for the task.
|
String |
getStatus()
The status of the task.
|
Map<String,String> |
getTags()
Displays the key, value pairs of tags associated with this quantum task.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The time at which the task was created.
|
void |
setDeviceArn(String deviceArn)
The ARN of the device the task ran on.
|
void |
setEndedAt(Date endedAt)
The time at which the task finished.
|
void |
setOutputS3Bucket(String outputS3Bucket)
The S3 bucket where the task result file is stored..
|
void |
setOutputS3Directory(String outputS3Directory)
The folder in the S3 bucket where the task result file is stored.
|
void |
setQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
|
void |
setShots(Long shots)
The shots used for the task.
|
void |
setStatus(String status)
The status of the task.
|
void |
setTags(Map<String,String> tags)
Displays the key, value pairs of tags associated with this quantum task.
|
String |
toString()
Returns a string representation of this object.
|
QuantumTaskSummary |
withCreatedAt(Date createdAt)
The time at which the task was created.
|
QuantumTaskSummary |
withDeviceArn(String deviceArn)
The ARN of the device the task ran on.
|
QuantumTaskSummary |
withEndedAt(Date endedAt)
The time at which the task finished.
|
QuantumTaskSummary |
withOutputS3Bucket(String outputS3Bucket)
The S3 bucket where the task result file is stored..
|
QuantumTaskSummary |
withOutputS3Directory(String outputS3Directory)
The folder in the S3 bucket where the task result file is stored.
|
QuantumTaskSummary |
withQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
|
QuantumTaskSummary |
withShots(Long shots)
The shots used for the task.
|
QuantumTaskSummary |
withStatus(QuantumTaskStatus status)
The status of the task.
|
QuantumTaskSummary |
withStatus(String status)
The status of the task.
|
QuantumTaskSummary |
withTags(Map<String,String> tags)
Displays the key, value pairs of tags associated with this 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 QuantumTaskSummary 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 ran on.
deviceArn
- The ARN of the device the task ran on.public String getDeviceArn()
The ARN of the device the task ran on.
public QuantumTaskSummary withDeviceArn(String deviceArn)
The ARN of the device the task ran on.
deviceArn
- The ARN of the device the task ran on.public void setEndedAt(Date endedAt)
The time at which the task finished.
endedAt
- The time at which the task finished.public Date getEndedAt()
The time at which the task finished.
public QuantumTaskSummary withEndedAt(Date endedAt)
The time at which the task finished.
endedAt
- The time at which the task finished.public void setOutputS3Bucket(String outputS3Bucket)
The S3 bucket where the task result file is stored..
outputS3Bucket
- The S3 bucket where the task result file is stored..public String getOutputS3Bucket()
The S3 bucket where the task result file is stored..
public QuantumTaskSummary withOutputS3Bucket(String outputS3Bucket)
The S3 bucket where the task result file is stored..
outputS3Bucket
- The S3 bucket where the task result file is stored..public void setOutputS3Directory(String outputS3Directory)
The folder in the S3 bucket where the task result file is stored.
outputS3Directory
- The folder in the S3 bucket where the task result file is stored.public String getOutputS3Directory()
The folder in the S3 bucket where the task result file is stored.
public QuantumTaskSummary withOutputS3Directory(String outputS3Directory)
The folder in the S3 bucket where the task result file is stored.
outputS3Directory
- The folder in the S3 bucket where the task result file is 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 QuantumTaskSummary withQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
quantumTaskArn
- The ARN of the task.public void setShots(Long shots)
The shots used for the task.
shots
- The shots used for the task.public Long getShots()
The shots used for the task.
public QuantumTaskSummary withShots(Long shots)
The shots used for the task.
shots
- The shots used for 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 QuantumTaskSummary withStatus(String status)
The status of the task.
status
- The status of the task.QuantumTaskStatus
public QuantumTaskSummary withStatus(QuantumTaskStatus status)
The status of the task.
status
- The status of the task.QuantumTaskStatus
public Map<String,String> getTags()
Displays the key, value pairs of tags associated with this quantum task.
public void setTags(Map<String,String> tags)
Displays the key, value pairs of tags associated with this quantum task.
tags
- Displays the key, value pairs of tags associated with this quantum task.public QuantumTaskSummary withTags(Map<String,String> tags)
Displays the key, value pairs of tags associated with this quantum task.
tags
- Displays the key, value pairs of tags associated with this quantum task.public QuantumTaskSummary addTagsEntry(String key, String value)
public QuantumTaskSummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public QuantumTaskSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.