@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Communication extends Object implements Serializable, Cloneable, StructuredPojo
A communication associated with a support case. The communication consists of the case ID, the message body, attachment information, the submitter of the communication, and the date and time of the communication.
Constructor and Description |
---|
Communication() |
Modifier and Type | Method and Description |
---|---|
Communication |
clone() |
boolean |
equals(Object obj) |
List<AttachmentDetails> |
getAttachmentSet()
Information about the attachments to the case communication.
|
String |
getBody()
The text of the communication between the customer and Amazon Web Services Support.
|
String |
getCaseId()
The support case ID requested or returned in the call.
|
String |
getSubmittedBy()
The identity of the account that submitted, or responded to, the support case.
|
String |
getTimeCreated()
The time the communication was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachmentSet(Collection<AttachmentDetails> attachmentSet)
Information about the attachments to the case communication.
|
void |
setBody(String body)
The text of the communication between the customer and Amazon Web Services Support.
|
void |
setCaseId(String caseId)
The support case ID requested or returned in the call.
|
void |
setSubmittedBy(String submittedBy)
The identity of the account that submitted, or responded to, the support case.
|
void |
setTimeCreated(String timeCreated)
The time the communication was created.
|
String |
toString()
Returns a string representation of this object.
|
Communication |
withAttachmentSet(AttachmentDetails... attachmentSet)
Information about the attachments to the case communication.
|
Communication |
withAttachmentSet(Collection<AttachmentDetails> attachmentSet)
Information about the attachments to the case communication.
|
Communication |
withBody(String body)
The text of the communication between the customer and Amazon Web Services Support.
|
Communication |
withCaseId(String caseId)
The support case ID requested or returned in the call.
|
Communication |
withSubmittedBy(String submittedBy)
The identity of the account that submitted, or responded to, the support case.
|
Communication |
withTimeCreated(String timeCreated)
The time the communication was created.
|
public void setCaseId(String caseId)
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
caseId
- The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as
shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47public String getCaseId()
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
public Communication withCaseId(String caseId)
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
caseId
- The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as
shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47public void setBody(String body)
The text of the communication between the customer and Amazon Web Services Support.
body
- The text of the communication between the customer and Amazon Web Services Support.public String getBody()
The text of the communication between the customer and Amazon Web Services Support.
public Communication withBody(String body)
The text of the communication between the customer and Amazon Web Services Support.
body
- The text of the communication between the customer and Amazon Web Services Support.public void setSubmittedBy(String submittedBy)
The identity of the account that submitted, or responded to, the support case. Customer entries include the IAM role as well as the email address (for example, "AdminRole (Role) <janedoe@example.com>). Entries from the Amazon Web Services Support team display "Amazon Web Services," and don't show an email address.
submittedBy
- The identity of the account that submitted, or responded to, the support case. Customer entries include
the IAM role as well as the email address (for example,
"AdminRole (Role) <janedoe@example.com>). Entries from the Amazon Web Services Support team display "
Amazon Web Services," and don't show an email address.public String getSubmittedBy()
The identity of the account that submitted, or responded to, the support case. Customer entries include the IAM role as well as the email address (for example, "AdminRole (Role) <janedoe@example.com>). Entries from the Amazon Web Services Support team display "Amazon Web Services," and don't show an email address.
public Communication withSubmittedBy(String submittedBy)
The identity of the account that submitted, or responded to, the support case. Customer entries include the IAM role as well as the email address (for example, "AdminRole (Role) <janedoe@example.com>). Entries from the Amazon Web Services Support team display "Amazon Web Services," and don't show an email address.
submittedBy
- The identity of the account that submitted, or responded to, the support case. Customer entries include
the IAM role as well as the email address (for example,
"AdminRole (Role) <janedoe@example.com>). Entries from the Amazon Web Services Support team display "
Amazon Web Services," and don't show an email address.public void setTimeCreated(String timeCreated)
The time the communication was created.
timeCreated
- The time the communication was created.public String getTimeCreated()
The time the communication was created.
public Communication withTimeCreated(String timeCreated)
The time the communication was created.
timeCreated
- The time the communication was created.public List<AttachmentDetails> getAttachmentSet()
Information about the attachments to the case communication.
public void setAttachmentSet(Collection<AttachmentDetails> attachmentSet)
Information about the attachments to the case communication.
attachmentSet
- Information about the attachments to the case communication.public Communication withAttachmentSet(AttachmentDetails... attachmentSet)
Information about the attachments to the case communication.
NOTE: This method appends the values to the existing list (if any). Use
setAttachmentSet(java.util.Collection)
or withAttachmentSet(java.util.Collection)
if you want
to override the existing values.
attachmentSet
- Information about the attachments to the case communication.public Communication withAttachmentSet(Collection<AttachmentDetails> attachmentSet)
Information about the attachments to the case communication.
attachmentSet
- Information about the attachments to the case communication.public String toString()
toString
in class Object
Object.toString()
public Communication clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.