public class CreateCaseRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
attachmentSetId
The ID of a set of one or more attachments for the case.
|
private java.lang.String |
categoryCode
The category of problem for the AWS Support case.
|
private SdkInternalList<java.lang.String> |
ccEmailAddresses
A list of email addresses that AWS Support copies on case correspondence.
|
private java.lang.String |
communicationBody
The communication body text when you create an AWS Support case by
calling CreateCase.
|
private java.lang.String |
issueType
The type of issue for the case.
|
private java.lang.String |
language
The ISO 639-1 code for the language in which AWS provides support.
|
private java.lang.String |
serviceCode
The code for the AWS service returned by the call to
DescribeServices.
|
private java.lang.String |
severityCode
The code for the severity level returned by the call to
DescribeSeverityLevels.
|
private java.lang.String |
subject
The title of the AWS Support case.
|
NOOP
Constructor and Description |
---|
CreateCaseRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCaseRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttachmentSetId()
The ID of a set of one or more attachments for the case.
|
java.lang.String |
getCategoryCode()
The category of problem for the AWS Support case.
|
java.util.List<java.lang.String> |
getCcEmailAddresses()
A list of email addresses that AWS Support copies on case correspondence.
|
java.lang.String |
getCommunicationBody()
The communication body text when you create an AWS Support case by
calling CreateCase.
|
java.lang.String |
getIssueType()
The type of issue for the case.
|
java.lang.String |
getLanguage()
The ISO 639-1 code for the language in which AWS provides support.
|
java.lang.String |
getServiceCode()
The code for the AWS service returned by the call to
DescribeServices.
|
java.lang.String |
getSeverityCode()
The code for the severity level returned by the call to
DescribeSeverityLevels.
|
java.lang.String |
getSubject()
The title of the AWS Support case.
|
int |
hashCode() |
void |
setAttachmentSetId(java.lang.String attachmentSetId)
The ID of a set of one or more attachments for the case.
|
void |
setCategoryCode(java.lang.String categoryCode)
The category of problem for the AWS Support case.
|
void |
setCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)
A list of email addresses that AWS Support copies on case correspondence.
|
void |
setCommunicationBody(java.lang.String communicationBody)
The communication body text when you create an AWS Support case by
calling CreateCase.
|
void |
setIssueType(java.lang.String issueType)
The type of issue for the case.
|
void |
setLanguage(java.lang.String language)
The ISO 639-1 code for the language in which AWS provides support.
|
void |
setServiceCode(java.lang.String serviceCode)
The code for the AWS service returned by the call to
DescribeServices.
|
void |
setSeverityCode(java.lang.String severityCode)
The code for the severity level returned by the call to
DescribeSeverityLevels.
|
void |
setSubject(java.lang.String subject)
The title of the AWS Support case.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateCaseRequest |
withAttachmentSetId(java.lang.String attachmentSetId)
The ID of a set of one or more attachments for the case.
|
CreateCaseRequest |
withCategoryCode(java.lang.String categoryCode)
The category of problem for the AWS Support case.
|
CreateCaseRequest |
withCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)
A list of email addresses that AWS Support copies on case correspondence.
|
CreateCaseRequest |
withCcEmailAddresses(java.lang.String... ccEmailAddresses)
A list of email addresses that AWS Support copies on case correspondence.
|
CreateCaseRequest |
withCommunicationBody(java.lang.String communicationBody)
The communication body text when you create an AWS Support case by
calling CreateCase.
|
CreateCaseRequest |
withIssueType(java.lang.String issueType)
The type of issue for the case.
|
CreateCaseRequest |
withLanguage(java.lang.String language)
The ISO 639-1 code for the language in which AWS provides support.
|
CreateCaseRequest |
withServiceCode(java.lang.String serviceCode)
The code for the AWS service returned by the call to
DescribeServices.
|
CreateCaseRequest |
withSeverityCode(java.lang.String severityCode)
The code for the severity level returned by the call to
DescribeSeverityLevels.
|
CreateCaseRequest |
withSubject(java.lang.String subject)
The title of the AWS Support case.
|
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
private java.lang.String subject
The title of the AWS Support case.
private java.lang.String serviceCode
The code for the AWS service returned by the call to DescribeServices.
private java.lang.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.
private java.lang.String categoryCode
The category of problem for the AWS Support case.
private java.lang.String communicationBody
The communication body text when you create an AWS Support case by calling CreateCase.
private SdkInternalList<java.lang.String> ccEmailAddresses
A list of email addresses that AWS Support copies on case correspondence.
private java.lang.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.
private java.lang.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."
private java.lang.String attachmentSetId
The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
public void setSubject(java.lang.String subject)
The title of the AWS Support case.
subject
- The title of the AWS Support case.public java.lang.String getSubject()
The title of the AWS Support case.
public CreateCaseRequest withSubject(java.lang.String subject)
The title of the AWS Support case.
subject
- The title of the AWS Support case.public void setServiceCode(java.lang.String serviceCode)
The code for the AWS service returned by the call to DescribeServices.
serviceCode
- The code for the AWS service returned by the call to
DescribeServices.public java.lang.String getServiceCode()
The code for the AWS service returned by the call to DescribeServices.
public CreateCaseRequest withServiceCode(java.lang.String serviceCode)
The code for the AWS service returned by the call to DescribeServices.
serviceCode
- The code for the AWS service returned by the call to
DescribeServices.public void setSeverityCode(java.lang.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.
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.
public java.lang.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.
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.
public CreateCaseRequest withSeverityCode(java.lang.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.
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.
public void setCategoryCode(java.lang.String categoryCode)
The category of problem for the AWS Support case.
categoryCode
- The category of problem for the AWS Support case.public java.lang.String getCategoryCode()
The category of problem for the AWS Support case.
public CreateCaseRequest withCategoryCode(java.lang.String categoryCode)
The category of problem for the AWS Support case.
categoryCode
- The category of problem for the AWS Support case.public void setCommunicationBody(java.lang.String communicationBody)
The communication body text when you create an AWS Support case by calling CreateCase.
communicationBody
- The communication body text when you create an AWS Support case by
calling CreateCase.public java.lang.String getCommunicationBody()
The communication body text when you create an AWS Support case by calling CreateCase.
public CreateCaseRequest withCommunicationBody(java.lang.String communicationBody)
The communication body text when you create an AWS Support case by calling CreateCase.
communicationBody
- The communication body text when you create an AWS Support case by
calling CreateCase.public java.util.List<java.lang.String> getCcEmailAddresses()
A list of email addresses that AWS Support copies on case correspondence.
public void setCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)
A list of email addresses that AWS Support copies on case correspondence.
ccEmailAddresses
- A list of email addresses that AWS Support copies on case
correspondence.public CreateCaseRequest withCcEmailAddresses(java.lang.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)
or
withCcEmailAddresses(java.util.Collection)
if you want to
override the existing values.
ccEmailAddresses
- A list of email addresses that AWS Support copies on case
correspondence.public CreateCaseRequest withCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)
A list of email addresses that AWS Support copies on case correspondence.
ccEmailAddresses
- A list of email addresses that AWS Support copies on case
correspondence.public void setLanguage(java.lang.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.
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.public java.lang.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.
public CreateCaseRequest withLanguage(java.lang.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.
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.public void setIssueType(java.lang.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."
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."public java.lang.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."
public CreateCaseRequest withIssueType(java.lang.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."
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."public void setAttachmentSetId(java.lang.String attachmentSetId)
The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
attachmentSetId
- The ID of a set of one or more attachments for the case. Create
the set by using AddAttachmentsToSet.public java.lang.String getAttachmentSetId()
The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
public CreateCaseRequest withAttachmentSetId(java.lang.String attachmentSetId)
The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
attachmentSetId
- The ID of a set of one or more attachments for the case. Create
the set by using AddAttachmentsToSet.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateCaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()