Class Communication
- All Implemented Interfaces:
Serializable
,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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the attachments to the case communication.getBody()
The text of the communication between the customer and AWS Support.The AWS Support case ID requested or returned in the call.The email address of the account that submitted the AWS Support case.The time the communication was created.int
hashCode()
void
setAttachmentSet
(Collection<AttachmentDetails> attachmentSet) Information about the attachments to the case communication.void
The text of the communication between the customer and AWS Support.void
The AWS Support case ID requested or returned in the call.void
setSubmittedBy
(String submittedBy) The email address of the account that submitted the AWS Support case.void
setTimeCreated
(String timeCreated) The time the communication was created.toString()
Returns a string representation of this object; useful for testing and debugging.withAttachmentSet
(AttachmentDetails... attachmentSet) Information about the attachments to the case communication.withAttachmentSet
(Collection<AttachmentDetails> attachmentSet) Information about the attachments to the case communication.The text of the communication between the customer and AWS Support.withCaseId
(String caseId) The AWS Support case ID requested or returned in the call.withSubmittedBy
(String submittedBy) The email address of the account that submitted the AWS Support case.withTimeCreated
(String timeCreated) The time the communication was created.
-
Constructor Details
-
Communication
public Communication()
-
-
Method Details
-
setCaseId
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
- Parameters:
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
-
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
- Returns:
- 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
-
withCaseId
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
- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBody
The text of the communication between the customer and AWS Support.
- Parameters:
body
- The text of the communication between the customer and AWS Support.
-
getBody
The text of the communication between the customer and AWS Support.
- Returns:
- The text of the communication between the customer and AWS Support.
-
withBody
The text of the communication between the customer and AWS Support.
- Parameters:
body
- The text of the communication between the customer and AWS Support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubmittedBy
The email address of the account that submitted the AWS Support case.
- Parameters:
submittedBy
- The email address of the account that submitted the AWS Support case.
-
getSubmittedBy
The email address of the account that submitted the AWS Support case.
- Returns:
- The email address of the account that submitted the AWS Support case.
-
withSubmittedBy
The email address of the account that submitted the AWS Support case.
- Parameters:
submittedBy
- The email address of the account that submitted the AWS Support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimeCreated
The time the communication was created.
- Parameters:
timeCreated
- The time the communication was created.
-
getTimeCreated
The time the communication was created.
- Returns:
- The time the communication was created.
-
withTimeCreated
The time the communication was created.
- Parameters:
timeCreated
- The time the communication was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttachmentSet
Information about the attachments to the case communication.
- Returns:
- Information about the attachments to the case communication.
-
setAttachmentSet
Information about the attachments to the case communication.
- Parameters:
attachmentSet
- Information about the attachments to the case communication.
-
withAttachmentSet
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)
orwithAttachmentSet(java.util.Collection)
if you want to override the existing values.- Parameters:
attachmentSet
- Information about the attachments to the case communication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttachmentSet
Information about the attachments to the case communication.
- Parameters:
attachmentSet
- Information about the attachments to the case communication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-