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 AddCommunicationToCaseRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAttachmentSetId()The ID of a set of one or more attachments for the communication to add to the case.StringgetCaseId()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.StringgetCommunicationBody()The body of an email communication to add to the support case.inthashCode()voidsetAttachmentSetId(String attachmentSetId)The ID of a set of one or more attachments for the communication to add to the case.voidsetCaseId(String caseId)The AWS Support case ID requested or returned in the call.voidsetCcEmailAddresses(Collection<String> ccEmailAddresses)The email addresses in the CC line of an email to be added to the support case.voidsetCommunicationBody(String communicationBody)The body of an email communication to add to the support case.StringtoString()Returns a string representation of this object; useful for testing and debugging.AddCommunicationToCaseRequestwithAttachmentSetId(String attachmentSetId)The ID of a set of one or more attachments for the communication to add to the case.AddCommunicationToCaseRequestwithCaseId(String caseId)The AWS Support case ID requested or returned in the call.AddCommunicationToCaseRequestwithCcEmailAddresses(String... ccEmailAddresses)The email addresses in the CC line of an email to be added to the support case.AddCommunicationToCaseRequestwithCcEmailAddresses(Collection<String> ccEmailAddresses)The email addresses in the CC line of an email to be added to the support case.AddCommunicationToCaseRequestwithCommunicationBody(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddCommunicationToCaseRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-