public class AddCommunicationToCaseRequest extends AmazonWebServiceRequest implements Serializable
AddCommunicationToCase operation
.
This action adds additional customer communication to an AWS Support case. You use the CaseId value to identify the case to which you want to add communication. 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.
This action's response indicates the success or failure of the request.
This action implements a subset of the behavior on the AWS Support Your Support Cases web form.
Constructor and Description |
---|
AddCommunicationToCaseRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCaseId()
String that indicates the AWS Support caseID requested or returned in
the call.
|
List<String> |
getCcEmailAddresses()
Represents any email addresses contained in the CC line of an email
added to the support case.
|
String |
getCommunicationBody()
Represents the body of an email communication added to the support
case.
|
int |
hashCode() |
void |
setCaseId(String caseId)
String that indicates the AWS Support caseID requested or returned in
the call.
|
void |
setCcEmailAddresses(Collection<String> ccEmailAddresses)
Represents any email addresses contained in the CC line of an email
added to the support case.
|
void |
setCommunicationBody(String communicationBody)
Represents the body of an email communication added to the support
case.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddCommunicationToCaseRequest |
withCaseId(String caseId)
String that indicates the AWS Support caseID requested or returned in
the call.
|
AddCommunicationToCaseRequest |
withCcEmailAddresses(Collection<String> ccEmailAddresses)
Represents any email addresses contained in the CC line of an email
added to the support case.
|
AddCommunicationToCaseRequest |
withCcEmailAddresses(String... ccEmailAddresses)
Represents any email addresses contained in the CC line of an email
added to the support case.
|
AddCommunicationToCaseRequest |
withCommunicationBody(String communicationBody)
Represents the body of an email communication added to the support
case.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getCaseId()
public void setCaseId(String caseId)
caseId
- String that indicates the AWS Support caseID requested or returned in
the call. The caseID is an alphanumeric string formatted as shown in
this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47public AddCommunicationToCaseRequest withCaseId(String caseId)
Returns a reference to this object so that method calls can be chained together.
caseId
- String that indicates the AWS Support caseID requested or returned in
the call. The caseID is an alphanumeric string formatted as shown in
this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47public String getCommunicationBody()
Constraints:
Length: 1 - 8000
public void setCommunicationBody(String communicationBody)
Constraints:
Length: 1 - 8000
communicationBody
- Represents the body of an email communication added 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
- Represents the body of an email communication added to the support
case.public List<String> getCcEmailAddresses()
Constraints:
Length: 0 - 10
public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
Constraints:
Length: 0 - 10
ccEmailAddresses
- Represents any email addresses contained in the CC line of an email
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
- Represents any email addresses contained in the CC line of an email
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
- Represents any email addresses contained in the CC line of an email
added to the support case.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.