@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCaseRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCaseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAttachmentSetId()
The ID of a set of one or more attachments for the case.
|
String |
getCategoryCode()
The category of problem for the support case.
|
List<String> |
getCcEmailAddresses()
A list of email addresses that Amazon Web Services Support copies on case correspondence.
|
String |
getCommunicationBody()
The communication body text that describes the issue.
|
String |
getIssueType()
The type of issue for the case.
|
String |
getLanguage()
The language in which Amazon Web Services Support handles the case.
|
String |
getServiceCode()
The code for the Amazon Web Services service.
|
String |
getSeverityCode()
A value that indicates the urgency of the case.
|
String |
getSubject()
The title of the 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 support case.
|
void |
setCcEmailAddresses(Collection<String> ccEmailAddresses)
A list of email addresses that Amazon Web Services Support copies on case correspondence.
|
void |
setCommunicationBody(String communicationBody)
The communication body text that describes the issue.
|
void |
setIssueType(String issueType)
The type of issue for the case.
|
void |
setLanguage(String language)
The language in which Amazon Web Services Support handles the case.
|
void |
setServiceCode(String serviceCode)
The code for the Amazon Web Services service.
|
void |
setSeverityCode(String severityCode)
A value that indicates the urgency of the case.
|
void |
setSubject(String subject)
The title of the support case.
|
String |
toString()
Returns a string representation of this object.
|
CreateCaseRequest |
withAttachmentSetId(String attachmentSetId)
The ID of a set of one or more attachments for the case.
|
CreateCaseRequest |
withCategoryCode(String categoryCode)
The category of problem for the support case.
|
CreateCaseRequest |
withCcEmailAddresses(Collection<String> ccEmailAddresses)
A list of email addresses that Amazon Web Services Support copies on case correspondence.
|
CreateCaseRequest |
withCcEmailAddresses(String... ccEmailAddresses)
A list of email addresses that Amazon Web Services Support copies on case correspondence.
|
CreateCaseRequest |
withCommunicationBody(String communicationBody)
The communication body text that describes the issue.
|
CreateCaseRequest |
withIssueType(String issueType)
The type of issue for the case.
|
CreateCaseRequest |
withLanguage(String language)
The language in which Amazon Web Services Support handles the case.
|
CreateCaseRequest |
withServiceCode(String serviceCode)
The code for the Amazon Web Services service.
|
CreateCaseRequest |
withSeverityCode(String severityCode)
A value that indicates the urgency of the case.
|
CreateCaseRequest |
withSubject(String subject)
The title of the support case.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSubject(String subject)
The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
subject
- The title of the support case. The title appears in the Subject field on the Amazon Web Services
Support Center Create Case page.public String getSubject()
The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
public CreateCaseRequest withSubject(String subject)
The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
subject
- The title of the support case. The title appears in the Subject field on the Amazon Web Services
Support Center Create Case page.public void setServiceCode(String serviceCode)
The code for the Amazon Web Services service. You can use the DescribeServices operation to get the
possible serviceCode
values.
serviceCode
- The code for the Amazon Web Services service. You can use the DescribeServices operation to get the
possible serviceCode
values.public String getServiceCode()
The code for the Amazon Web Services service. You can use the DescribeServices operation to get the
possible serviceCode
values.
serviceCode
values.public CreateCaseRequest withServiceCode(String serviceCode)
The code for the Amazon Web Services service. You can use the DescribeServices operation to get the
possible serviceCode
values.
serviceCode
- The code for the Amazon Web Services service. You can use the DescribeServices operation to get the
possible serviceCode
values.public void setSeverityCode(String severityCode)
A value that indicates the urgency of the case. This value determines the response time according to your service
level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels operation to get
the possible values for severityCode
.
For more information, see SeverityLevel and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
severityCode
- A value that indicates the urgency of the case. This value determines the response time according to your
service level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels
operation to get the possible values for severityCode
.
For more information, see SeverityLevel and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
public String getSeverityCode()
A value that indicates the urgency of the case. This value determines the response time according to your service
level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels operation to get
the possible values for severityCode
.
For more information, see SeverityLevel and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
severityCode
.
For more information, see SeverityLevel and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
public CreateCaseRequest withSeverityCode(String severityCode)
A value that indicates the urgency of the case. This value determines the response time according to your service
level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels operation to get
the possible values for severityCode
.
For more information, see SeverityLevel and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
severityCode
- A value that indicates the urgency of the case. This value determines the response time according to your
service level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels
operation to get the possible values for severityCode
.
For more information, see SeverityLevel and Choosing a Severity in the Amazon Web Services Support User Guide.
The availability of severity levels depends on the support plan for the Amazon Web Services account.
public void setCategoryCode(String categoryCode)
The category of problem for the support case. You also use the DescribeServices operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.
categoryCode
- The category of problem for the support case. You also use the DescribeServices operation to get
the category code for a service. Each Amazon Web Services service defines its own set of category codes.public String getCategoryCode()
The category of problem for the support case. You also use the DescribeServices operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.
public CreateCaseRequest withCategoryCode(String categoryCode)
The category of problem for the support case. You also use the DescribeServices operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.
categoryCode
- The category of problem for the support case. You also use the DescribeServices operation to get
the category code for a service. Each Amazon Web Services service defines its own set of category codes.public void setCommunicationBody(String communicationBody)
The communication body text that describes the issue. This text appears in the Description field on the Amazon Web Services Support Center Create Case page.
communicationBody
- The communication body text that describes the issue. This text appears in the Description field on
the Amazon Web Services Support Center Create Case page.public String getCommunicationBody()
The communication body text that describes the issue. This text appears in the Description field on the Amazon Web Services Support Center Create Case page.
public CreateCaseRequest withCommunicationBody(String communicationBody)
The communication body text that describes the issue. This text appears in the Description field on the Amazon Web Services Support Center Create Case page.
communicationBody
- The communication body text that describes the issue. This text appears in the Description field on
the Amazon Web Services Support Center Create Case page.public List<String> getCcEmailAddresses()
A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support identifies the account that creates the case when you specify your Amazon Web Services credentials in an HTTP POST method or use the Amazon Web Services SDKs.
public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support identifies the account that creates the case when you specify your Amazon Web Services credentials in an HTTP POST method or use the Amazon Web Services SDKs.
ccEmailAddresses
- A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web
Services Support identifies the account that creates the case when you specify your Amazon Web Services
credentials in an HTTP POST method or use the Amazon Web Services
SDKs.public CreateCaseRequest withCcEmailAddresses(String... ccEmailAddresses)
A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support identifies the account that creates the case when you specify your Amazon Web Services credentials in an HTTP POST method or use the Amazon Web Services SDKs.
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 Amazon Web Services Support copies on case correspondence. Amazon Web
Services Support identifies the account that creates the case when you specify your Amazon Web Services
credentials in an HTTP POST method or use the Amazon Web Services
SDKs.public CreateCaseRequest withCcEmailAddresses(Collection<String> ccEmailAddresses)
A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support identifies the account that creates the case when you specify your Amazon Web Services credentials in an HTTP POST method or use the Amazon Web Services SDKs.
ccEmailAddresses
- A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web
Services Support identifies the account that creates the case when you specify your Amazon Web Services
credentials in an HTTP POST method or use the Amazon Web Services
SDKs.public void setLanguage(String language)
The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently
supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1 code
for the language
parameter if you want support in that language.
language
- The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently
supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1
code for the language
parameter if you want support in that language.public String getLanguage()
The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently
supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1 code
for the language
parameter if you want support in that language.
language
parameter if you want support in that language.public CreateCaseRequest withLanguage(String language)
The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently
supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1 code
for the language
parameter if you want support in that language.
language
- The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently
supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1
code for the language
parameter if you want support in that language.public void setIssueType(String issueType)
The type of issue for the case. You can specify customer-service
or technical
. If you
don't specify a value, the default is technical
.
issueType
- The type of issue for the case. You can specify customer-service
or technical
.
If you don't specify a value, the default is technical
.public String getIssueType()
The type of issue for the case. You can specify customer-service
or technical
. If you
don't specify a value, the default is technical
.
customer-service
or technical
.
If you don't specify a value, the default is technical
.public CreateCaseRequest withIssueType(String issueType)
The type of issue for the case. You can specify customer-service
or technical
. If you
don't specify a value, the default is technical
.
issueType
- The type of issue for the case. You can specify customer-service
or technical
.
If you don't specify a value, the default is technical
.public void setAttachmentSetId(String attachmentSetId)
The ID of a set of one or more attachments for the case. Create the set by using the AddAttachmentsToSet operation.
attachmentSetId
- The ID of a set of one or more attachments for the case. Create the set by using the
AddAttachmentsToSet operation.public String getAttachmentSetId()
The ID of a set of one or more attachments for the case. Create the set by using the AddAttachmentsToSet operation.
public CreateCaseRequest withAttachmentSetId(String attachmentSetId)
The ID of a set of one or more attachments for the case. Create the set by using the AddAttachmentsToSet operation.
attachmentSetId
- The ID of a set of one or more attachments for the case. Create the set by using the
AddAttachmentsToSet operation.public String toString()
toString
in class Object
Object.toString()
public CreateCaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()