@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides summary information about an Amazon Braket job.
Constructor and Description |
---|
JobSummary() |
Modifier and Type | Method and Description |
---|---|
JobSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
JobSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
JobSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time that the Amazon Braket job was created.
|
String |
getDevice()
Provides summary information about the primary device used by an Amazon Braket job.
|
Date |
getEndedAt()
The date and time that the Amazon Braket job ended.
|
String |
getJobArn()
The ARN of the Amazon Braket job.
|
String |
getJobName()
The name of the Amazon Braket job.
|
Date |
getStartedAt()
The date and time that the Amazon Braket job was started.
|
String |
getStatus()
The status of the Amazon Braket job.
|
Map<String,String> |
getTags()
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The date and time that the Amazon Braket job was created.
|
void |
setDevice(String device)
Provides summary information about the primary device used by an Amazon Braket job.
|
void |
setEndedAt(Date endedAt)
The date and time that the Amazon Braket job ended.
|
void |
setJobArn(String jobArn)
The ARN of the Amazon Braket job.
|
void |
setJobName(String jobName)
The name of the Amazon Braket job.
|
void |
setStartedAt(Date startedAt)
The date and time that the Amazon Braket job was started.
|
void |
setStatus(String status)
The status of the Amazon Braket job.
|
void |
setTags(Map<String,String> tags)
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
|
String |
toString()
Returns a string representation of this object.
|
JobSummary |
withCreatedAt(Date createdAt)
The date and time that the Amazon Braket job was created.
|
JobSummary |
withDevice(String device)
Provides summary information about the primary device used by an Amazon Braket job.
|
JobSummary |
withEndedAt(Date endedAt)
The date and time that the Amazon Braket job ended.
|
JobSummary |
withJobArn(String jobArn)
The ARN of the Amazon Braket job.
|
JobSummary |
withJobName(String jobName)
The name of the Amazon Braket job.
|
JobSummary |
withStartedAt(Date startedAt)
The date and time that the Amazon Braket job was started.
|
JobSummary |
withStatus(JobPrimaryStatus status)
The status of the Amazon Braket job.
|
JobSummary |
withStatus(String status)
The status of the Amazon Braket job.
|
JobSummary |
withTags(Map<String,String> tags)
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
|
public void setCreatedAt(Date createdAt)
The date and time that the Amazon Braket job was created.
createdAt
- The date and time that the Amazon Braket job was created.public Date getCreatedAt()
The date and time that the Amazon Braket job was created.
public JobSummary withCreatedAt(Date createdAt)
The date and time that the Amazon Braket job was created.
createdAt
- The date and time that the Amazon Braket job was created.public void setDevice(String device)
Provides summary information about the primary device used by an Amazon Braket job.
device
- Provides summary information about the primary device used by an Amazon Braket job.public String getDevice()
Provides summary information about the primary device used by an Amazon Braket job.
public JobSummary withDevice(String device)
Provides summary information about the primary device used by an Amazon Braket job.
device
- Provides summary information about the primary device used by an Amazon Braket job.public void setEndedAt(Date endedAt)
The date and time that the Amazon Braket job ended.
endedAt
- The date and time that the Amazon Braket job ended.public Date getEndedAt()
The date and time that the Amazon Braket job ended.
public JobSummary withEndedAt(Date endedAt)
The date and time that the Amazon Braket job ended.
endedAt
- The date and time that the Amazon Braket job ended.public void setJobArn(String jobArn)
The ARN of the Amazon Braket job.
jobArn
- The ARN of the Amazon Braket job.public String getJobArn()
The ARN of the Amazon Braket job.
public JobSummary withJobArn(String jobArn)
The ARN of the Amazon Braket job.
jobArn
- The ARN of the Amazon Braket job.public void setJobName(String jobName)
The name of the Amazon Braket job.
jobName
- The name of the Amazon Braket job.public String getJobName()
The name of the Amazon Braket job.
public JobSummary withJobName(String jobName)
The name of the Amazon Braket job.
jobName
- The name of the Amazon Braket job.public void setStartedAt(Date startedAt)
The date and time that the Amazon Braket job was started.
startedAt
- The date and time that the Amazon Braket job was started.public Date getStartedAt()
The date and time that the Amazon Braket job was started.
public JobSummary withStartedAt(Date startedAt)
The date and time that the Amazon Braket job was started.
startedAt
- The date and time that the Amazon Braket job was started.public void setStatus(String status)
The status of the Amazon Braket job.
status
- The status of the Amazon Braket job.JobPrimaryStatus
public String getStatus()
The status of the Amazon Braket job.
JobPrimaryStatus
public JobSummary withStatus(String status)
The status of the Amazon Braket job.
status
- The status of the Amazon Braket job.JobPrimaryStatus
public JobSummary withStatus(JobPrimaryStatus status)
The status of the Amazon Braket job.
status
- The status of the Amazon Braket job.JobPrimaryStatus
public Map<String,String> getTags()
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
public void setTags(Map<String,String> tags)
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
tags
- A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket
resources.public JobSummary withTags(Map<String,String> tags)
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
tags
- A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket
resources.public JobSummary addTagsEntry(String key, String value)
public JobSummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public JobSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.