Class AddCommunicationToCaseRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.support.model.AddCommunicationToCaseRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class AddCommunicationToCaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
To be written.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AddCommunicationToCaseRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... ccEmailAddresses)
The email addresses in the CC line of an email to be added to the support case.AddCommunicationToCaseRequest
withCcEmailAddresses(Collection<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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setCaseId
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
- Parameters:
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
-
getCaseId
public 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
- Returns:
- 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
-
withCaseId
public AddCommunicationToCaseRequest 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
- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCommunicationBody
public void setCommunicationBody(String communicationBody)
The body of an email communication to add to the support case.
- Parameters:
communicationBody
- The body of an email communication to add to the support case.
-
getCommunicationBody
public String getCommunicationBody()
The body of an email communication to add to the support case.
- Returns:
- The body of an email communication to add to the support case.
-
withCommunicationBody
public AddCommunicationToCaseRequest withCommunicationBody(String communicationBody)
The body of an email communication to add to the support case.
- Parameters:
communicationBody
- The body of an email communication to add to the support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCcEmailAddresses
public List<String> getCcEmailAddresses()
The email addresses in the CC line of an email to be added to the support case.
- Returns:
- The email addresses in the CC line of an email to be added to the support case.
-
setCcEmailAddresses
public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
The email addresses in the CC line of an email to be added to the support case.
- Parameters:
ccEmailAddresses
- The email addresses in the CC line of an email to be added to the support case.
-
withCcEmailAddresses
public AddCommunicationToCaseRequest withCcEmailAddresses(String... ccEmailAddresses)
The email addresses in the CC line of an email to be added to the support case.
NOTE: This method appends the values to the existing list (if any). Use
setCcEmailAddresses(java.util.Collection)
orwithCcEmailAddresses(java.util.Collection)
if you want to override the existing values.- Parameters:
ccEmailAddresses
- The email addresses in the CC line of an email to be added to the support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCcEmailAddresses
public AddCommunicationToCaseRequest withCcEmailAddresses(Collection<String> ccEmailAddresses)
The email addresses in the CC line of an email to be added to the support case.
- Parameters:
ccEmailAddresses
- The email addresses in the CC line of an email to be added to the support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttachmentSetId
public void setAttachmentSetId(String attachmentSetId)
The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
- Parameters:
attachmentSetId
- The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
-
getAttachmentSetId
public String getAttachmentSetId()
The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
- Returns:
- The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
-
withAttachmentSetId
public AddCommunicationToCaseRequest withAttachmentSetId(String attachmentSetId)
The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
- Parameters:
attachmentSetId
- The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddCommunicationToCaseRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-