@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Communication extends Object implements Serializable, Cloneable, StructuredPojo
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.
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 AWS Support.
|
String |
getCaseId()
The AWS Support case ID requested or returned in the call.
|
String |
getSubmittedBy()
The email address of the account that submitted the AWS 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 AWS Support.
|
void |
setCaseId(String caseId)
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.
|
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(Collection<AttachmentDetails> attachmentSet)
Information about the attachments to the case communication.
|
Communication |
withBody(String body)
The text of the communication between the customer and AWS Support.
|
Communication |
withCaseId(String caseId)
The AWS Support case ID requested or returned in the call.
|
Communication |
withSubmittedBy(String submittedBy)
The email address of the account that submitted the AWS Support case.
|
Communication |
withTimeCreated(String timeCreated)
The time the communication was created.
|
public void setCaseId(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 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(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(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 String getBody()
The text of the communication between the customer and AWS Support.
public Communication withBody(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(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 String getSubmittedBy()
The email address of the account that submitted the AWS Support case.
public Communication withSubmittedBy(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(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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.