|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.support.model.CreateCaseRequest
public class CreateCaseRequest
Container for the parameters to the CreateCase operation
.
Creates a new case in the AWS Support Center. This action is modeled on the behavior of the AWS Support Center Open a new case page. Its parameters require you to specify the following information:
NOTE:The AWS Support API does not currently support the ability to add attachments to cases. You can, however, call AddCommunicationToCase to add information to an open case.
A successful CreateCase request returns an AWS Support case number. Case numbers are used by DescribeCases request to retrieve existing AWS Support support cases.
AWSSupport.createCase(CreateCaseRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateCaseRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCategoryCode()
Specifies the category of problem for the AWS Support case. |
List<String> |
getCcEmailAddresses()
List of email addresses that AWS Support copies on case correspondence. |
String |
getCommunicationBody()
Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase. |
String |
getIssueType()
Field passed as a parameter in a CreateCase call. |
String |
getLanguage()
Specifies the ISO 639-1 code for the language in which AWS provides support. |
String |
getServiceCode()
Code for the AWS service returned by the call to DescribeServices. |
String |
getSeverityCode()
Code for the severity level returned by the call to DescribeSeverityLevels. |
String |
getSubject()
Title of the AWS Support case. |
int |
hashCode()
|
void |
setCategoryCode(String categoryCode)
Specifies the category of problem for the AWS Support case. |
void |
setCcEmailAddresses(Collection<String> ccEmailAddresses)
List of email addresses that AWS Support copies on case correspondence. |
void |
setCommunicationBody(String communicationBody)
Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase. |
void |
setIssueType(String issueType)
Field passed as a parameter in a CreateCase call. |
void |
setLanguage(String language)
Specifies the ISO 639-1 code for the language in which AWS provides support. |
void |
setServiceCode(String serviceCode)
Code for the AWS service returned by the call to DescribeServices. |
void |
setSeverityCode(String severityCode)
Code for the severity level returned by the call to DescribeSeverityLevels. |
void |
setSubject(String subject)
Title of the AWS Support case. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateCaseRequest |
withCategoryCode(String categoryCode)
Specifies the category of problem for the AWS Support case. |
CreateCaseRequest |
withCcEmailAddresses(Collection<String> ccEmailAddresses)
List of email addresses that AWS Support copies on case correspondence. |
CreateCaseRequest |
withCcEmailAddresses(String... ccEmailAddresses)
List of email addresses that AWS Support copies on case correspondence. |
CreateCaseRequest |
withCommunicationBody(String communicationBody)
Parameter that represents the communication body text when you create an AWS Support case by calling CreateCase. |
CreateCaseRequest |
withIssueType(String issueType)
Field passed as a parameter in a CreateCase call. |
CreateCaseRequest |
withLanguage(String language)
Specifies the ISO 639-1 code for the language in which AWS provides support. |
CreateCaseRequest |
withServiceCode(String serviceCode)
Code for the AWS service returned by the call to DescribeServices. |
CreateCaseRequest |
withSeverityCode(String severityCode)
Code for the severity level returned by the call to DescribeSeverityLevels. |
CreateCaseRequest |
withSubject(String subject)
Title of the AWS 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 |
---|
public CreateCaseRequest()
Method Detail |
---|
public String getSubject()
public void setSubject(String subject)
subject
- Title of the AWS Support case.public CreateCaseRequest withSubject(String subject)
Returns a reference to this object so that method calls can be chained together.
subject
- Title of the AWS Support case.
public String getServiceCode()
Constraints:
Pattern: [0-9a-z\-_]+
public void setServiceCode(String serviceCode)
Constraints:
Pattern: [0-9a-z\-_]+
serviceCode
- Code for the AWS service returned by the call to DescribeServices.public CreateCaseRequest withServiceCode(String serviceCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [0-9a-z\-_]+
serviceCode
- Code for the AWS service returned by the call to DescribeServices.
public String getSeverityCode()
public void setSeverityCode(String severityCode)
severityCode
- Code for the severity level returned by the call to DescribeSeverityLevels. public CreateCaseRequest withSeverityCode(String severityCode)
Returns a reference to this object so that method calls can be chained together.
severityCode
- Code for the severity level returned by the call to DescribeSeverityLevels. public String getCategoryCode()
public void setCategoryCode(String categoryCode)
categoryCode
- Specifies the category of problem for the AWS Support case.public CreateCaseRequest withCategoryCode(String categoryCode)
Returns a reference to this object so that method calls can be chained together.
categoryCode
- Specifies the category of problem for the AWS Support case.
public String getCommunicationBody()
Constraints:
Length: 1 - 8000
public void setCommunicationBody(String communicationBody)
Constraints:
Length: 1 - 8000
communicationBody
- Parameter that represents the communication body text when you create
an AWS Support case by calling CreateCase.public CreateCaseRequest withCommunicationBody(String communicationBody)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8000
communicationBody
- Parameter that represents the communication body text when you create
an AWS Support case by calling CreateCase.
public List<String> getCcEmailAddresses()
Constraints:
Length: 0 - 10
public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
Constraints:
Length: 0 - 10
ccEmailAddresses
- List of email addresses that AWS Support copies on case
correspondence.public CreateCaseRequest withCcEmailAddresses(String... ccEmailAddresses)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
ccEmailAddresses
- List of email addresses that AWS Support copies on case
correspondence.
public CreateCaseRequest withCcEmailAddresses(Collection<String> ccEmailAddresses)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
ccEmailAddresses
- List of email addresses that AWS Support copies on case
correspondence.
public String getLanguage()
public void setLanguage(String language)
language
- Specifies the ISO 639-1 code for the language in which AWS provides
support. AWS Support currently supports English and Japanese, for
which the codes are en and ja, respectively. Language
parameters must be passed explicitly for operations that take them.public CreateCaseRequest withLanguage(String language)
Returns a reference to this object so that method calls can be chained together.
language
- Specifies the ISO 639-1 code for the language in which AWS provides
support. AWS Support currently supports English and Japanese, for
which the codes are en and ja, respectively. Language
parameters must be passed explicitly for operations that take them.
public String getIssueType()
public void setIssueType(String issueType)
issueType
- Field passed as a parameter in a CreateCase call.public CreateCaseRequest withIssueType(String issueType)
Returns a reference to this object so that method calls can be chained together.
issueType
- Field passed as a parameter in a CreateCase call.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |