@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 AWS Support case.
|
List<String> |
getCcEmailAddresses()
A list of email addresses that AWS 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 AWS Support handles the case.
|
String |
getServiceCode()
The code for the AWS service.
|
String |
getSeverityCode()
A value that indicates the urgency of the case.
|
String |
getSubject()
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 that describes the issue.
|
void |
setIssueType(String issueType)
The type of issue for the case.
|
void |
setLanguage(String language)
The language in which AWS Support handles the case.
|
void |
setServiceCode(String serviceCode)
The code for the AWS service.
|
void |
setSeverityCode(String severityCode)
A value that indicates the urgency of the case.
|
void |
setSubject(String subject)
The title of the AWS 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 AWS Support case.
|
CreateCaseRequest |
withCcEmailAddresses(Collection<String> ccEmailAddresses)
A list of email addresses that AWS Support copies on case correspondence.
|
CreateCaseRequest |
withCcEmailAddresses(String... ccEmailAddresses)
A list of email addresses that AWS 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 AWS Support handles the case.
|
CreateCaseRequest |
withServiceCode(String serviceCode)
The code for the AWS service.
|
CreateCaseRequest |
withSeverityCode(String severityCode)
A value that indicates the urgency of the case.
|
CreateCaseRequest |
withSubject(String subject)
The title of the AWS 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 AWS Support case. The title appears in the Subject field on the AWS Support Center Create Case page.
subject
- The title of the AWS Support case. The title appears in the Subject field on the AWS Support Center
Create Case page.public String getSubject()
The title of the AWS Support case. The title appears in the Subject field on the AWS Support Center Create Case page.
public CreateCaseRequest withSubject(String subject)
The title of the AWS Support case. The title appears in the Subject field on the AWS Support Center Create Case page.
subject
- The title of the AWS Support case. The title appears in the Subject field on the AWS Support Center
Create Case page.public void setServiceCode(String serviceCode)
The code for the AWS service. You can use the DescribeServices operation to get the possible
serviceCode
values.
serviceCode
- The code for the AWS service. You can use the DescribeServices operation to get the possible
serviceCode
values.public String getServiceCode()
The code for the AWS service. You can use the DescribeServices operation to get the possible
serviceCode
values.
serviceCode
values.public CreateCaseRequest withServiceCode(String serviceCode)
The code for the AWS service. You can use the DescribeServices operation to get the possible
serviceCode
values.
serviceCode
- The code for the AWS 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 AWS 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 AWS Support User Guide.
The availability of severity levels depends on the support plan for the AWS account.
severityCode
- A value that indicates the urgency of the case. This value determines the response time according to your
service level agreement with AWS 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 AWS Support User Guide.
The availability of severity levels depends on the support plan for the AWS 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 AWS 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 AWS Support User Guide.
The availability of severity levels depends on the support plan for the AWS account.
severityCode
.
For more information, see SeverityLevel and Choosing a Severity in the AWS Support User Guide.
The availability of severity levels depends on the support plan for the AWS 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 AWS 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 AWS Support User Guide.
The availability of severity levels depends on the support plan for the AWS account.
severityCode
- A value that indicates the urgency of the case. This value determines the response time according to your
service level agreement with AWS 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 AWS Support User Guide.
The availability of severity levels depends on the support plan for the AWS account.
public void setCategoryCode(String categoryCode)
The category of problem for the AWS Support case. You also use the DescribeServices operation to get the category code for a service. Each AWS service defines its own set of category codes.
categoryCode
- The category of problem for the AWS Support case. You also use the DescribeServices operation to
get the category code for a service. Each AWS service defines its own set of category codes.public String getCategoryCode()
The category of problem for the AWS Support case. You also use the DescribeServices operation to get the category code for a service. Each AWS service defines its own set of category codes.
public CreateCaseRequest withCategoryCode(String categoryCode)
The category of problem for the AWS Support case. You also use the DescribeServices operation to get the category code for a service. Each AWS service defines its own set of category codes.
categoryCode
- The category of problem for the AWS Support case. You also use the DescribeServices operation to
get the category code for a service. Each AWS 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 AWS Support Center Create Case page.
communicationBody
- The communication body text that describes the issue. This text appears in the Description field on
the AWS 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 AWS 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 AWS Support Center Create Case page.
communicationBody
- The communication body text that describes the issue. This text appears in the Description field on
the AWS Support Center Create Case
page.public List<String> getCcEmailAddresses()
A list of email addresses that AWS Support copies on case correspondence. AWS Support identifies the account that creates the case when you specify your AWS credentials in an HTTP POST method or use the AWS SDKs.
public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
A list of email addresses that AWS Support copies on case correspondence. AWS Support identifies the account that creates the case when you specify your AWS credentials in an HTTP POST method or use the AWS SDKs.
ccEmailAddresses
- A list of email addresses that AWS Support copies on case correspondence. AWS Support identifies the
account that creates the case when you specify your AWS credentials in an HTTP POST method or use the AWS SDKs.public CreateCaseRequest withCcEmailAddresses(String... ccEmailAddresses)
A list of email addresses that AWS Support copies on case correspondence. AWS Support identifies the account that creates the case when you specify your AWS credentials in an HTTP POST method or use the AWS 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 AWS Support copies on case correspondence. AWS Support identifies the
account that creates the case when you specify your AWS credentials in an HTTP POST method or use the AWS SDKs.public CreateCaseRequest withCcEmailAddresses(Collection<String> ccEmailAddresses)
A list of email addresses that AWS Support copies on case correspondence. AWS Support identifies the account that creates the case when you specify your AWS credentials in an HTTP POST method or use the AWS SDKs.
ccEmailAddresses
- A list of email addresses that AWS Support copies on case correspondence. AWS Support identifies the
account that creates the case when you specify your AWS credentials in an HTTP POST method or use the AWS SDKs.public void setLanguage(String language)
The language in which AWS Support handles the case. You must specify the ISO 639-1 code for the
language
parameter if you want support in that language. Currently, English ("en") and Japanese
("ja") are supported.
language
- The language in which AWS Support handles the case. You must specify the ISO 639-1 code for the
language
parameter if you want support in that language. Currently, English ("en") and
Japanese ("ja") are supported.public String getLanguage()
The language in which AWS Support handles the case. You must specify the ISO 639-1 code for the
language
parameter if you want support in that language. Currently, English ("en") and Japanese
("ja") are supported.
language
parameter if you want support in that language. Currently, English ("en") and
Japanese ("ja") are supported.public CreateCaseRequest withLanguage(String language)
The language in which AWS Support handles the case. You must specify the ISO 639-1 code for the
language
parameter if you want support in that language. Currently, English ("en") and Japanese
("ja") are supported.
language
- The language in which AWS Support handles the case. You must specify the ISO 639-1 code for the
language
parameter if you want support in that language. Currently, English ("en") and
Japanese ("ja") are supported.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()