@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 in the response from a DescribeCases request. CaseDetails contains the following fields:
caseId - The 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 support case. Corresponds to the CategoryCode
 values returned by a call to DescribeServices.
 
displayId - The identifier for the case on pages in the Amazon Web Services Support Center.
 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.
 
nextToken - A resumption point for pagination.
 recentCommunications - One or more Communication objects. Fields of these objects are
 attachments, body, caseId, submittedBy, and
 timeCreated.
 
serviceCode - The identifier for the Amazon Web Services 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. The possible values are: low, normal, high,
 urgent, and critical.
 
status - The status of the case in the Amazon Web Services Support Center. Valid values:
 opened
 
 pending-customer-action
 
 reopened
 
 resolved
 
 unassigned
 
 work-in-progress
 
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 support case ID requested or returned in the call. | 
| String | getCategoryCode()
 The category of problem for the 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 Amazon Web Services Support Center. | 
| String | getLanguage()
 The language in which Amazon Web Services Support handles the case. | 
| RecentCaseCommunications | getRecentCommunications()
 The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any
 attachments to the communications. | 
| String | getServiceCode()
 The code for the Amazon Web Services service. | 
| 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 Amazon Web Services Support Center. | 
| String | getSubmittedBy()
 The email address of the account that submitted the case. | 
| String | getTimeCreated()
 The time that the case was created in the Amazon Web Services Support Center. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setCaseId(String caseId)
 The support case ID requested or returned in the call. | 
| void | setCategoryCode(String categoryCode)
 The category of problem for the 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 Amazon Web Services Support Center. | 
| void | setLanguage(String language)
 The language in which Amazon Web Services Support handles the case. | 
| void | setRecentCommunications(RecentCaseCommunications recentCommunications)
 The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any
 attachments to the communications. | 
| void | setServiceCode(String serviceCode)
 The code for the Amazon Web Services service. | 
| 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 Amazon Web Services 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 created in the Amazon Web Services Support Center. | 
| String | toString()Returns a string representation of this object. | 
| CaseDetails | withCaseId(String caseId)
 The support case ID requested or returned in the call. | 
| CaseDetails | withCategoryCode(String categoryCode)
 The category of problem for the 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 Amazon Web Services Support Center. | 
| CaseDetails | withLanguage(String language)
 The language in which Amazon Web Services Support handles the case. | 
| CaseDetails | withRecentCommunications(RecentCaseCommunications recentCommunications)
 The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any
 attachments to the communications. | 
| CaseDetails | withServiceCode(String serviceCode)
 The code for the Amazon Web Services service. | 
| 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 Amazon Web Services 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 created in the Amazon Web Services Support Center. | 
public void setCaseId(String caseId)
The 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 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 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 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 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 Amazon Web Services Support Center. This is a numeric string.
displayId - The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.public String getDisplayId()
The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.
public CaseDetails withDisplayId(String displayId)
The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.
displayId - The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.public void setSubject(String subject)
The subject line for the case in the Amazon Web Services Support Center.
subject - The subject line for the case in the Amazon Web Services Support Center.public String getSubject()
The subject line for the case in the Amazon Web Services Support Center.
public CaseDetails withSubject(String subject)
The subject line for the case in the Amazon Web Services Support Center.
subject - The subject line for the case in the Amazon Web Services Support Center.public void setStatus(String status)
The status of the case.
Valid values:
 opened
 
 pending-customer-action
 
 reopened
 
 resolved
 
 unassigned
 
 work-in-progress
 
status - The status of the case.
        Valid values:
        opened
        
        pending-customer-action
        
        reopened
        
        resolved
        
        unassigned
        
        work-in-progress
        
public String getStatus()
The status of the case.
Valid values:
 opened
 
 pending-customer-action
 
 reopened
 
 resolved
 
 unassigned
 
 work-in-progress
 
Valid values:
         opened
         
         pending-customer-action
         
         reopened
         
         resolved
         
         unassigned
         
         work-in-progress
         
public CaseDetails withStatus(String status)
The status of the case.
Valid values:
 opened
 
 pending-customer-action
 
 reopened
 
 resolved
 
 unassigned
 
 work-in-progress
 
status - The status of the case.
        Valid values:
        opened
        
        pending-customer-action
        
        reopened
        
        resolved
        
        unassigned
        
        work-in-progress
        
public void setServiceCode(String serviceCode)
The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices.
serviceCode - The code for the Amazon Web Services service. You can get a list of codes and the corresponding service
        names by calling DescribeServices.public String getServiceCode()
The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices.
public CaseDetails withServiceCode(String serviceCode)
The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices.
serviceCode - The code for the Amazon Web Services service. You can get a list of codes and the corresponding service
        names by calling DescribeServices.public void setCategoryCode(String categoryCode)
The category of problem for the support case.
categoryCode - The category of problem for the support case.public String getCategoryCode()
The category of problem for the support case.
public CaseDetails withCategoryCode(String categoryCode)
The category of problem for the support case.
categoryCode - The category of problem for the 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 created in the Amazon Web Services Support Center.
timeCreated - The time that the case was created in the Amazon Web Services Support Center.public String getTimeCreated()
The time that the case was created in the Amazon Web Services Support Center.
public CaseDetails withTimeCreated(String timeCreated)
The time that the case was created in the Amazon Web Services Support Center.
timeCreated - The time that the case was created in the Amazon Web Services Support Center.public void setRecentCommunications(RecentCaseCommunications recentCommunications)
 The five most recent communications between you and Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 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 CaseDetails 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 String toString()
toString in class ObjectObject.toString()public CaseDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.