public class AddCommunicationToCaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 features of the AWS Support Center.
NOOP
Constructor and Description |
---|
AddCommunicationToCaseRequest() |
Modifier and Type | Method and Description |
---|---|
AddCommunicationToCaseRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAttachmentSetId()
The ID of a set of one or more attachments for the communication to
add to the case.
|
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)
The ID of a set of one or more attachments for the communication to
add to the case.
|
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)
The ID of a set of one or more attachments for the communication to
add to the case.
|
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.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, 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)
NOTE: This method appends the values to the existing list (if
any). Use setCcEmailAddresses(java.util.Collection)
or withCcEmailAddresses(java.util.Collection)
if you want to override
the existing values.
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 ID of a set of one or more attachments for the communication to
add to the case. Create the set by calling AddAttachmentsToSetpublic AddCommunicationToCaseRequest withAttachmentSetId(String attachmentSetId)
Returns a reference to this object so that method calls can be chained together.
attachmentSetId
- The ID of a set of one or more attachments for the communication to
add to the case. Create the set by calling AddAttachmentsToSetpublic String toString()
toString
in class Object
Object.toString()
public AddCommunicationToCaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.