public class Communication extends Object implements Serializable
Exposes the fields used by a communication for an AWS Support case.
Constructor and Description |
---|
Communication() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<AttachmentDetails> |
getAttachmentSet()
Returns the value of the AttachmentSet property for this object.
|
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 support case was created.
|
int |
hashCode() |
void |
setAttachmentSet(Collection<AttachmentDetails> attachmentSet)
Sets the value of the AttachmentSet property for this object.
|
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 support case was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Communication |
withAttachmentSet(AttachmentDetails... attachmentSet)
Sets the value of the AttachmentSet property for this object.
|
Communication |
withAttachmentSet(Collection<AttachmentDetails> attachmentSet)
Sets the value of the AttachmentSet property for this object.
|
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 support case was created.
|
public String getCaseId()
public void setCaseId(String caseId)
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 Communication withCaseId(String caseId)
Returns a reference to this object so that method calls can be chained together.
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 getBody()
public void setBody(String body)
body
- The text of the communication between the customer and AWS Support.public Communication withBody(String body)
Returns a reference to this object so that method calls can be chained together.
body
- The text of the communication between the customer and AWS Support.public String getSubmittedBy()
public void setSubmittedBy(String submittedBy)
submittedBy
- The email address of the account that submitted the AWS Support case.public Communication withSubmittedBy(String submittedBy)
Returns a reference to this object so that method calls can be chained together.
submittedBy
- The email address of the account that submitted the AWS Support case.public String getTimeCreated()
public void setTimeCreated(String timeCreated)
timeCreated
- The time the support case was created.public Communication withTimeCreated(String timeCreated)
Returns a reference to this object so that method calls can be chained together.
timeCreated
- The time the support case was created.public List<AttachmentDetails> getAttachmentSet()
public void setAttachmentSet(Collection<AttachmentDetails> attachmentSet)
attachmentSet
- The new value for the AttachmentSet property for this object.public Communication withAttachmentSet(AttachmentDetails... attachmentSet)
Returns a reference to this object so that method calls can be chained together.
attachmentSet
- The new value for the AttachmentSet property for this object.public Communication withAttachmentSet(Collection<AttachmentDetails> attachmentSet)
Returns a reference to this object so that method calls can be chained together.
attachmentSet
- The new value for the AttachmentSet property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.