Class CreateCaseRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The ID of a set of one or more attachments for the case.The category of problem for the AWS Support case.A list of email addresses that AWS Support copies on case correspondence.The communication body text when you create an AWS Support case by calling CreateCase.The type of issue for the case.The ISO 639-1 code for the language in which AWS provides support.The code for the AWS service returned by the call to DescribeServices.The code for the severity level returned by the call to DescribeSeverityLevels.The title of the AWS Support case.int
hashCode()
void
setAttachmentSetId
(String attachmentSetId) The ID of a set of one or more attachments for the case.void
setCategoryCode
(String categoryCode) The category of problem for the AWS Support case.void
setCcEmailAddresses
(Collection<String> ccEmailAddresses) A list of email addresses that AWS Support copies on case correspondence.void
setCommunicationBody
(String communicationBody) The communication body text when you create an AWS Support case by calling CreateCase.void
setIssueType
(String issueType) The type of issue for the case.void
setLanguage
(String language) The ISO 639-1 code for the language in which AWS provides support.void
setServiceCode
(String serviceCode) The code for the AWS service returned by the call to DescribeServices.void
setSeverityCode
(String severityCode) The code for the severity level returned by the call to DescribeSeverityLevels.void
setSubject
(String subject) The title of the AWS Support case.toString()
Returns a string representation of this object; useful for testing and debugging.withAttachmentSetId
(String attachmentSetId) The ID of a set of one or more attachments for the case.withCategoryCode
(String categoryCode) The category of problem for the AWS Support case.withCcEmailAddresses
(String... ccEmailAddresses) A list of email addresses that AWS Support copies on case correspondence.withCcEmailAddresses
(Collection<String> ccEmailAddresses) A list of email addresses that AWS Support copies on case correspondence.withCommunicationBody
(String communicationBody) The communication body text when you create an AWS Support case by calling CreateCase.withIssueType
(String issueType) The type of issue for the case.withLanguage
(String language) The ISO 639-1 code for the language in which AWS provides support.withServiceCode
(String serviceCode) The code for the AWS service returned by the call to DescribeServices.withSeverityCode
(String severityCode) The code for the severity level returned by the call to DescribeSeverityLevels.withSubject
(String subject) The title of the AWS 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
-
Constructor Details
-
CreateCaseRequest
public CreateCaseRequest()
-
-
Method Details
-
setSubject
The title of the AWS Support case.
- Parameters:
subject
- The title of the AWS Support case.
-
getSubject
The title of the AWS Support case.
- Returns:
- The title of the AWS Support case.
-
withSubject
The title of the AWS Support case.
- Parameters:
subject
- The title of the AWS Support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServiceCode
The code for the AWS service returned by the call to DescribeServices.
- Parameters:
serviceCode
- The code for the AWS service returned by the call to DescribeServices.
-
getServiceCode
The code for the AWS service returned by the call to DescribeServices.
- Returns:
- The code for the AWS service returned by the call to DescribeServices.
-
withServiceCode
The code for the AWS service returned by the call to DescribeServices.
- Parameters:
serviceCode
- The code for the AWS service returned by the call to DescribeServices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSeverityCode
The code for the severity level returned by the call to DescribeSeverityLevels.
The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.
- Parameters:
severityCode
- The code for the severity level returned by the call to DescribeSeverityLevels.The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.
-
getSeverityCode
The code for the severity level returned by the call to DescribeSeverityLevels.
The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.
- Returns:
- The code for the severity level returned by the call to
DescribeSeverityLevels.
The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.
-
withSeverityCode
The code for the severity level returned by the call to DescribeSeverityLevels.
The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.
- Parameters:
severityCode
- The code for the severity level returned by the call to DescribeSeverityLevels.The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCategoryCode
The category of problem for the AWS Support case.
- Parameters:
categoryCode
- The category of problem for the AWS Support case.
-
getCategoryCode
The category of problem for the AWS Support case.
- Returns:
- The category of problem for the AWS Support case.
-
withCategoryCode
The category of problem for the AWS Support case.
- Parameters:
categoryCode
- The category of problem for the AWS Support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCommunicationBody
The communication body text when you create an AWS Support case by calling CreateCase.
- Parameters:
communicationBody
- The communication body text when you create an AWS Support case by calling CreateCase.
-
getCommunicationBody
The communication body text when you create an AWS Support case by calling CreateCase.
- Returns:
- The communication body text when you create an AWS Support case by calling CreateCase.
-
withCommunicationBody
The communication body text when you create an AWS Support case by calling CreateCase.
- Parameters:
communicationBody
- The communication body text when you create an AWS Support case by calling CreateCase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCcEmailAddresses
A list of email addresses that AWS Support copies on case correspondence.
- Returns:
- A list of email addresses that AWS Support copies on case correspondence.
-
setCcEmailAddresses
A list of email addresses that AWS Support copies on case correspondence.
- Parameters:
ccEmailAddresses
- A list of email addresses that AWS Support copies on case correspondence.
-
withCcEmailAddresses
A list of email addresses that AWS Support copies on case correspondence.
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
- A list of email addresses that AWS Support copies on case correspondence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCcEmailAddresses
A list of email addresses that AWS Support copies on case correspondence.
- Parameters:
ccEmailAddresses
- A list of email addresses that AWS Support copies on case correspondence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLanguage
The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
- Parameters:
language
- The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
-
getLanguage
The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
- Returns:
- The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
-
withLanguage
The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
- Parameters:
language
- The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIssueType
The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical."
- Parameters:
issueType
- The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical."
-
getIssueType
The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical."
- Returns:
- The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical."
-
withIssueType
The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical."
- Parameters:
issueType
- The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttachmentSetId
The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
- Parameters:
attachmentSetId
- The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
-
getAttachmentSetId
The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
- Returns:
- The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
-
withAttachmentSetId
The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
- Parameters:
attachmentSetId
- The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-