Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.support.model
Class AddCommunicationToCaseRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.support.model.AddCommunicationToCaseRequest
All Implemented Interfaces:
Serializable

public class AddCommunicationToCaseRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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.

See Also:
AWSSupport.addCommunicationToCase(AddCommunicationToCaseRequest), Serialized Form

Constructor Summary
AddCommunicationToCaseRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddCommunicationToCaseRequest

public AddCommunicationToCaseRequest()
Method Detail

getCaseId

public String getCaseId()
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-c4c1d2bf33c5cf47

Returns:
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-c4c1d2bf33c5cf47

setCaseId

public void setCaseId(String 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-c4c1d2bf33c5cf47

Parameters:
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-c4c1d2bf33c5cf47

withCaseId

public AddCommunicationToCaseRequest withCaseId(String 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-c4c1d2bf33c5cf47

Returns a reference to this object so that method calls can be chained together.

Parameters:
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-c4c1d2bf33c5cf47
Returns:
A reference to this updated object so that method calls can be chained together.

getCommunicationBody

public String getCommunicationBody()
Represents the body of an email communication added to the support case.

Constraints:
Length: 1 - 8000

Returns:
Represents the body of an email communication added to the support case.

setCommunicationBody

public void setCommunicationBody(String communicationBody)
Represents the body of an email communication added to the support case.

Constraints:
Length: 1 - 8000

Parameters:
communicationBody - Represents the body of an email communication added to the support case.

withCommunicationBody

public AddCommunicationToCaseRequest withCommunicationBody(String communicationBody)
Represents the body of an email communication added to the support case.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 8000

Parameters:
communicationBody - Represents the body of an email communication added to the support case.
Returns:
A reference to this updated object so that method calls can be chained together.

getCcEmailAddresses

public List<String> getCcEmailAddresses()
Represents any email addresses contained in the CC line of an email added to the support case.

Constraints:
Length: 0 - 10

Returns:
Represents any email addresses contained in the CC line of an email added to the support case.

setCcEmailAddresses

public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
Represents any email addresses contained in the CC line of an email added to the support case.

Constraints:
Length: 0 - 10

Parameters:
ccEmailAddresses - Represents any email addresses contained in the CC line of an email added to the support case.

withCcEmailAddresses

public AddCommunicationToCaseRequest withCcEmailAddresses(String... ccEmailAddresses)
Represents any email addresses contained in the CC line of an email added to the support case.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 10

Parameters:
ccEmailAddresses - Represents any email addresses contained in the CC line of an email added to the support case.
Returns:
A reference to this updated object so that method calls can be chained together.

withCcEmailAddresses

public AddCommunicationToCaseRequest withCcEmailAddresses(Collection<String> ccEmailAddresses)
Represents any email addresses contained in the CC line of an email added to the support case.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 10

Parameters:
ccEmailAddresses - Represents any email addresses contained in the CC line of an email added to the support case.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.