Class CreateCaseRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.support.model.CreateCaseRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateCaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateCaseRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCaseRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAttachmentSetId()The ID of a set of one or more attachments for the case.StringgetCategoryCode()The category of problem for the AWS Support case.List<String>getCcEmailAddresses()A list of email addresses that AWS Support copies on case correspondence.StringgetCommunicationBody()The communication body text when you create an AWS Support case by calling CreateCase.StringgetIssueType()The type of issue for the case.StringgetLanguage()The ISO 639-1 code for the language in which AWS provides support.StringgetServiceCode()The code for the AWS service returned by the call to DescribeServices.StringgetSeverityCode()The code for the severity level returned by the call to DescribeSeverityLevels.StringgetSubject()The title of the AWS Support case.inthashCode()voidsetAttachmentSetId(String attachmentSetId)The ID of a set of one or more attachments for the case.voidsetCategoryCode(String categoryCode)The category of problem for the AWS Support case.voidsetCcEmailAddresses(Collection<String> ccEmailAddresses)A list of email addresses that AWS Support copies on case correspondence.voidsetCommunicationBody(String communicationBody)The communication body text when you create an AWS Support case by calling CreateCase.voidsetIssueType(String issueType)The type of issue for the case.voidsetLanguage(String language)The ISO 639-1 code for the language in which AWS provides support.voidsetServiceCode(String serviceCode)The code for the AWS service returned by the call to DescribeServices.voidsetSeverityCode(String severityCode)The code for the severity level returned by the call to DescribeSeverityLevels.voidsetSubject(String subject)The title of the AWS Support case.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateCaseRequestwithAttachmentSetId(String attachmentSetId)The ID of a set of one or more attachments for the case.CreateCaseRequestwithCategoryCode(String categoryCode)The category of problem for the AWS Support case.CreateCaseRequestwithCcEmailAddresses(String... ccEmailAddresses)A list of email addresses that AWS Support copies on case correspondence.CreateCaseRequestwithCcEmailAddresses(Collection<String> ccEmailAddresses)A list of email addresses that AWS Support copies on case correspondence.CreateCaseRequestwithCommunicationBody(String communicationBody)The communication body text when you create an AWS Support case by calling CreateCase.CreateCaseRequestwithIssueType(String issueType)The type of issue for the case.CreateCaseRequestwithLanguage(String language)The ISO 639-1 code for the language in which AWS provides support.CreateCaseRequestwithServiceCode(String serviceCode)The code for the AWS service returned by the call to DescribeServices.CreateCaseRequestwithSeverityCode(String severityCode)The code for the severity level returned by the call to DescribeSeverityLevels.CreateCaseRequestwithSubject(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
-
-
-
-
Method Detail
-
setSubject
public void setSubject(String subject)
The title of the AWS Support case.
- Parameters:
subject- The title of the AWS Support case.
-
getSubject
public String getSubject()
The title of the AWS Support case.
- Returns:
- The title of the AWS Support case.
-
withSubject
public CreateCaseRequest withSubject(String subject)
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
public void setServiceCode(String serviceCode)
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
public String 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
public CreateCaseRequest withServiceCode(String serviceCode)
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
public void setSeverityCode(String 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.
- 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
public String 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
public CreateCaseRequest withSeverityCode(String 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.
- 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
public void setCategoryCode(String categoryCode)
The category of problem for the AWS Support case.
- Parameters:
categoryCode- The category of problem for the AWS Support case.
-
getCategoryCode
public String getCategoryCode()
The category of problem for the AWS Support case.
- Returns:
- The category of problem for the AWS Support case.
-
withCategoryCode
public CreateCaseRequest withCategoryCode(String categoryCode)
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
public void setCommunicationBody(String communicationBody)
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
public String 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
public CreateCaseRequest withCommunicationBody(String communicationBody)
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
public List<String> 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
public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
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
public CreateCaseRequest withCcEmailAddresses(String... ccEmailAddresses)
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
public CreateCaseRequest withCcEmailAddresses(Collection<String> ccEmailAddresses)
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
public void setLanguage(String 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.
- 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
public String 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
public CreateCaseRequest withLanguage(String 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.
- 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
public void setIssueType(String 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."
- 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
public String 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
public CreateCaseRequest withIssueType(String 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."
- 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
public void setAttachmentSetId(String attachmentSetId)
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
public String 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
public CreateCaseRequest withAttachmentSetId(String attachmentSetId)
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
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 CreateCaseRequest 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()
-
-