public class AddCommunicationToCaseRequest extends AmazonWebServiceRequest implements Serializable
AddCommunicationToCase operation
.
Adds additional customer communication to an AWS Support case. You use
the CaseId
value to identify the case to add
communication to. You can list a set of email addresses to copy on the
communication using the CcEmailAddresses
value. The
CommunicationBody
value contains the text of the
communication.
The response indicates the success or failure of the request.
This operation implements a subset of the behavior on the AWS Support Your Support Cases web form.
NOOP
Constructor and Description |
---|
AddCommunicationToCaseRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAttachmentSetId()
Returns the value of the AttachmentSetId property for this object.
|
String |
getCaseId()
The AWS Support case ID requested or returned in the call.
|
List<String> |
getCcEmailAddresses()
The email addresses in the CC line of an email to be added to the
support case.
|
String |
getCommunicationBody()
The body of an email communication to add to the support case.
|
int |
hashCode() |
void |
setAttachmentSetId(String attachmentSetId)
Sets the value of the AttachmentSetId property for this object.
|
void |
setCaseId(String caseId)
The AWS Support case ID requested or returned in the call.
|
void |
setCcEmailAddresses(Collection<String> ccEmailAddresses)
The email addresses in the CC line of an email to be added to the
support case.
|
void |
setCommunicationBody(String communicationBody)
The body of an email communication to add to the support case.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddCommunicationToCaseRequest |
withAttachmentSetId(String attachmentSetId)
Sets the value of the AttachmentSetId property for this object.
|
AddCommunicationToCaseRequest |
withCaseId(String caseId)
The AWS Support case ID requested or returned in the call.
|
AddCommunicationToCaseRequest |
withCcEmailAddresses(Collection<String> ccEmailAddresses)
The email addresses in the CC line of an email to be added to the
support case.
|
AddCommunicationToCaseRequest |
withCcEmailAddresses(String... ccEmailAddresses)
The email addresses in the CC line of an email to be added to the
support case.
|
AddCommunicationToCaseRequest |
withCommunicationBody(String communicationBody)
The body of an email communication to add to the support case.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 AddCommunicationToCaseRequest 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 getCommunicationBody()
Constraints:
Length: 1 - 8000
public void setCommunicationBody(String communicationBody)
Constraints:
Length: 1 - 8000
communicationBody
- The body of an email communication to add to the support case.public AddCommunicationToCaseRequest withCommunicationBody(String communicationBody)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8000
communicationBody
- The body of an email communication to add to the support case.public List<String> getCcEmailAddresses()
Constraints:
Length: 0 - 10
public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
Constraints:
Length: 0 - 10
ccEmailAddresses
- The email addresses in the CC line of an email to be added to the
support case.public AddCommunicationToCaseRequest withCcEmailAddresses(String... ccEmailAddresses)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
ccEmailAddresses
- The email addresses in the CC line of an email to be added to the
support case.public AddCommunicationToCaseRequest withCcEmailAddresses(Collection<String> ccEmailAddresses)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
ccEmailAddresses
- The email addresses in the CC line of an email to be added to the
support case.public String getAttachmentSetId()
public void setAttachmentSetId(String attachmentSetId)
attachmentSetId
- The new value for the AttachmentSetId property for this object.public AddCommunicationToCaseRequest withAttachmentSetId(String attachmentSetId)
Returns a reference to this object so that method calls can be chained together.
attachmentSetId
- The new value for the AttachmentSetId property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.