public class Communication
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A communication associated with an AWS Support case. The communication consists of the case ID, the message body, attachment information, the account email address, and the date and time of the communication.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<AttachmentDetails> |
attachmentSet
Information about the attachments to the case communication.
|
private java.lang.String |
body
The text of the communication between the customer and AWS Support.
|
private java.lang.String |
caseId
The AWS Support case ID requested or returned in the call.
|
private java.lang.String |
submittedBy
The email address of the account that submitted the AWS Support case.
|
private java.lang.String |
timeCreated
The time the communication was created.
|
Constructor and Description |
---|
Communication() |
Modifier and Type | Method and Description |
---|---|
Communication |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AttachmentDetails> |
getAttachmentSet()
Information about the attachments to the case communication.
|
java.lang.String |
getBody()
The text of the communication between the customer and AWS Support.
|
java.lang.String |
getCaseId()
The AWS Support case ID requested or returned in the call.
|
java.lang.String |
getSubmittedBy()
The email address of the account that submitted the AWS Support case.
|
java.lang.String |
getTimeCreated()
The time the communication was created.
|
int |
hashCode() |
void |
setAttachmentSet(java.util.Collection<AttachmentDetails> attachmentSet)
Information about the attachments to the case communication.
|
void |
setBody(java.lang.String body)
The text of the communication between the customer and AWS Support.
|
void |
setCaseId(java.lang.String caseId)
The AWS Support case ID requested or returned in the call.
|
void |
setSubmittedBy(java.lang.String submittedBy)
The email address of the account that submitted the AWS Support case.
|
void |
setTimeCreated(java.lang.String timeCreated)
The time the communication was created.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Communication |
withAttachmentSet(AttachmentDetails... attachmentSet)
Information about the attachments to the case communication.
|
Communication |
withAttachmentSet(java.util.Collection<AttachmentDetails> attachmentSet)
Information about the attachments to the case communication.
|
Communication |
withBody(java.lang.String body)
The text of the communication between the customer and AWS Support.
|
Communication |
withCaseId(java.lang.String caseId)
The AWS Support case ID requested or returned in the call.
|
Communication |
withSubmittedBy(java.lang.String submittedBy)
The email address of the account that submitted the AWS Support case.
|
Communication |
withTimeCreated(java.lang.String timeCreated)
The time the communication was created.
|
private java.lang.String caseId
The AWS 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
private java.lang.String body
The text of the communication between the customer and AWS Support.
private java.lang.String submittedBy
The email address of the account that submitted the AWS Support case.
private java.lang.String timeCreated
The time the communication was created.
private SdkInternalList<AttachmentDetails> attachmentSet
Information about the attachments to the case communication.
public void setCaseId(java.lang.String caseId)
The AWS 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 AWS 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 java.lang.String getCaseId()
The AWS 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(java.lang.String caseId)
The AWS 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 AWS 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(java.lang.String body)
The text of the communication between the customer and AWS Support.
body
- The text of the communication between the customer and AWS
Support.public java.lang.String getBody()
The text of the communication between the customer and AWS Support.
public Communication withBody(java.lang.String body)
The text of the communication between the customer and AWS Support.
body
- The text of the communication between the customer and AWS
Support.public void setSubmittedBy(java.lang.String submittedBy)
The email address of the account that submitted the AWS Support case.
submittedBy
- The email address of the account that submitted the AWS Support
case.public java.lang.String getSubmittedBy()
The email address of the account that submitted the AWS Support case.
public Communication withSubmittedBy(java.lang.String submittedBy)
The email address of the account that submitted the AWS Support case.
submittedBy
- The email address of the account that submitted the AWS Support
case.public void setTimeCreated(java.lang.String timeCreated)
The time the communication was created.
timeCreated
- The time the communication was created.public java.lang.String getTimeCreated()
The time the communication was created.
public Communication withTimeCreated(java.lang.String timeCreated)
The time the communication was created.
timeCreated
- The time the communication was created.public java.util.List<AttachmentDetails> getAttachmentSet()
Information about the attachments to the case communication.
public void setAttachmentSet(java.util.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(java.util.Collection<AttachmentDetails> attachmentSet)
Information about the attachments to the case communication.
attachmentSet
- Information about the attachments to the case communication.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Communication clone()
clone
in class java.lang.Object