@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CaseDetails extends Object implements Serializable, Cloneable, StructuredPojo
A JSON-formatted object that contains the metadata for a support case. It is contained the response from a DescribeCases request. CaseDetails contains the following fields:
caseId. The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47.
categoryCode. The category of problem for the AWS Support case. Corresponds to the CategoryCode values returned by a call to DescribeServices.
displayId. The identifier for the case on pages in the AWS Support Center.
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.
recentCommunications. One or more Communication objects. Fields of these objects are
attachments
, body
, caseId
, submittedBy
, and
timeCreated
.
nextToken. A resumption point for pagination.
serviceCode. The identifier for the AWS service that corresponds to the service code defined in the call to DescribeServices.
severityCode. The severity code assigned to the case. Contains one of the values returned by the call to DescribeSeverityLevels.
status. The status of the case in the AWS Support Center.
subject. The subject line of the case.
submittedBy. The email address of the account that submitted the case.
timeCreated. The time the case was created, in ISO-8601 format.
Constructor and Description |
---|
CaseDetails() |
Modifier and Type | Method and Description |
---|---|
CaseDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCaseId()
The AWS Support case ID requested or returned in the call.
|
String |
getCategoryCode()
The category of problem for the AWS Support case.
|
List<String> |
getCcEmailAddresses()
The email addresses that receive copies of communication about the case.
|
String |
getDisplayId()
The ID displayed for the case in the AWS Support Center.
|
String |
getLanguage()
The ISO 639-1 code for the language in which AWS provides support.
|
RecentCaseCommunications |
getRecentCommunications()
The five most recent communications between you and AWS Support Center, including the IDs of any attachments to
the communications.
|
String |
getServiceCode()
The code for the AWS service returned by the call to DescribeServices.
|
String |
getSeverityCode()
The code for the severity level returned by the call to DescribeSeverityLevels.
|
String |
getStatus()
The status of the case.
|
String |
getSubject()
The subject line for the case in the AWS Support Center.
|
String |
getSubmittedBy()
The email address of the account that submitted the case.
|
String |
getTimeCreated()
The time that the case was case created in the AWS Support Center.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCaseId(String caseId)
The AWS Support case ID requested or returned in the call.
|
void |
setCategoryCode(String categoryCode)
The category of problem for the AWS Support case.
|
void |
setCcEmailAddresses(Collection<String> ccEmailAddresses)
The email addresses that receive copies of communication about the case.
|
void |
setDisplayId(String displayId)
The ID displayed for the case in the AWS Support Center.
|
void |
setLanguage(String language)
The ISO 639-1 code for the language in which AWS provides support.
|
void |
setRecentCommunications(RecentCaseCommunications recentCommunications)
The five most recent communications between you and AWS Support Center, including the IDs of any attachments to
the communications.
|
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 |
setStatus(String status)
The status of the case.
|
void |
setSubject(String subject)
The subject line for the case in the AWS Support Center.
|
void |
setSubmittedBy(String submittedBy)
The email address of the account that submitted the case.
|
void |
setTimeCreated(String timeCreated)
The time that the case was case created in the AWS Support Center.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CaseDetails |
withCaseId(String caseId)
The AWS Support case ID requested or returned in the call.
|
CaseDetails |
withCategoryCode(String categoryCode)
The category of problem for the AWS Support case.
|
CaseDetails |
withCcEmailAddresses(Collection<String> ccEmailAddresses)
The email addresses that receive copies of communication about the case.
|
CaseDetails |
withCcEmailAddresses(String... ccEmailAddresses)
The email addresses that receive copies of communication about the case.
|
CaseDetails |
withDisplayId(String displayId)
The ID displayed for the case in the AWS Support Center.
|
CaseDetails |
withLanguage(String language)
The ISO 639-1 code for the language in which AWS provides support.
|
CaseDetails |
withRecentCommunications(RecentCaseCommunications recentCommunications)
The five most recent communications between you and AWS Support Center, including the IDs of any attachments to
the communications.
|
CaseDetails |
withServiceCode(String serviceCode)
The code for the AWS service returned by the call to DescribeServices.
|
CaseDetails |
withSeverityCode(String severityCode)
The code for the severity level returned by the call to DescribeSeverityLevels.
|
CaseDetails |
withStatus(String status)
The status of the case.
|
CaseDetails |
withSubject(String subject)
The subject line for the case in the AWS Support Center.
|
CaseDetails |
withSubmittedBy(String submittedBy)
The email address of the account that submitted the case.
|
CaseDetails |
withTimeCreated(String timeCreated)
The time that the case was case created in the AWS Support Center.
|
public void setCaseId(String caseId)
The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
caseId
- The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted
as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47public String getCaseId()
The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
public CaseDetails withCaseId(String caseId)
The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
caseId
- The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted
as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47public void setDisplayId(String displayId)
The ID displayed for the case in the AWS Support Center. This is a numeric string.
displayId
- The ID displayed for the case in the AWS Support Center. This is a numeric string.public String getDisplayId()
The ID displayed for the case in the AWS Support Center. This is a numeric string.
public CaseDetails withDisplayId(String displayId)
The ID displayed for the case in the AWS Support Center. This is a numeric string.
displayId
- The ID displayed for the case in the AWS Support Center. This is a numeric string.public void setSubject(String subject)
The subject line for the case in the AWS Support Center.
subject
- The subject line for the case in the AWS Support Center.public String getSubject()
The subject line for the case in the AWS Support Center.
public CaseDetails withSubject(String subject)
The subject line for the case in the AWS Support Center.
subject
- The subject line for the case in the AWS Support Center.public void setStatus(String status)
The status of the case.
status
- The status of the case.public String getStatus()
The status of the case.
public CaseDetails withStatus(String status)
The status of the case.
status
- The status of the case.public void setServiceCode(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 String getServiceCode()
The code for the AWS service returned by the call to DescribeServices.
public CaseDetails withServiceCode(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 setCategoryCode(String categoryCode)
The category of problem for the AWS Support case.
categoryCode
- The category of problem for the AWS Support case.public String getCategoryCode()
The category of problem for the AWS Support case.
public CaseDetails withCategoryCode(String categoryCode)
The category of problem for the AWS Support case.
categoryCode
- The category of problem for the AWS Support case.public void setSeverityCode(String severityCode)
The code for the severity level returned by the call to DescribeSeverityLevels.
severityCode
- The code for the severity level returned by the call to DescribeSeverityLevels.public String getSeverityCode()
The code for the severity level returned by the call to DescribeSeverityLevels.
public CaseDetails withSeverityCode(String severityCode)
The code for the severity level returned by the call to DescribeSeverityLevels.
severityCode
- The code for the severity level returned by the call to DescribeSeverityLevels.public void setSubmittedBy(String submittedBy)
The email address of the account that submitted the case.
submittedBy
- The email address of the account that submitted the case.public String getSubmittedBy()
The email address of the account that submitted the case.
public CaseDetails withSubmittedBy(String submittedBy)
The email address of the account that submitted the case.
submittedBy
- The email address of the account that submitted the case.public void setTimeCreated(String timeCreated)
The time that the case was case created in the AWS Support Center.
timeCreated
- The time that the case was case created in the AWS Support Center.public String getTimeCreated()
The time that the case was case created in the AWS Support Center.
public CaseDetails withTimeCreated(String timeCreated)
The time that the case was case created in the AWS Support Center.
timeCreated
- The time that the case was case created in the AWS Support Center.public void setRecentCommunications(RecentCaseCommunications recentCommunications)
The five most recent communications between you and AWS Support Center, including the IDs of any attachments to
the communications. Also includes a nextToken
that you can use to retrieve earlier communications.
recentCommunications
- The five most recent communications between you and AWS Support Center, including the IDs of any
attachments to the communications. Also includes a nextToken
that you can use to retrieve
earlier communications.public RecentCaseCommunications getRecentCommunications()
The five most recent communications between you and AWS Support Center, including the IDs of any attachments to
the communications. Also includes a nextToken
that you can use to retrieve earlier communications.
nextToken
that you can use to retrieve
earlier communications.public CaseDetails withRecentCommunications(RecentCaseCommunications recentCommunications)
The five most recent communications between you and AWS Support Center, including the IDs of any attachments to
the communications. Also includes a nextToken
that you can use to retrieve earlier communications.
recentCommunications
- The five most recent communications between you and AWS Support Center, including the IDs of any
attachments to the communications. Also includes a nextToken
that you can use to retrieve
earlier communications.public List<String> getCcEmailAddresses()
The email addresses that receive copies of communication about the case.
public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
The email addresses that receive copies of communication about the case.
ccEmailAddresses
- The email addresses that receive copies of communication about the case.public CaseDetails withCcEmailAddresses(String... ccEmailAddresses)
The email addresses that receive copies of communication about the case.
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
- The email addresses that receive copies of communication about the case.public CaseDetails withCcEmailAddresses(Collection<String> ccEmailAddresses)
The email addresses that receive copies of communication about the case.
ccEmailAddresses
- The email addresses that receive copies of communication about the case.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.
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 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 CaseDetails 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.
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 String toString()
toString
in class Object
Object.toString()
public CaseDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.