Class CaseDetails

java.lang.Object
com.amazonaws.services.support.model.CaseDetails
All Implemented Interfaces:
Serializable, Cloneable

public class CaseDetails extends Object implements Serializable, Cloneable

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:

  1. 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.
  2. CategoryCode. The category of problem for the AWS Support case. Corresponds to the CategoryCode values returned by a call to DescribeServices.
  3. DisplayId. The identifier for the case on pages in the AWS Support Center.
  4. 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.
  5. RecentCommunications. One or more Communication objects. Fields of these objects are Attachments, Body, CaseId, SubmittedBy, and TimeCreated.
  6. NextToken. A resumption point for pagination.
  7. ServiceCode. The identifier for the AWS service that corresponds to the service code defined in the call to DescribeServices.
  8. SeverityCode. The severity code assigned to the case. Contains one of the values returned by the call to DescribeSeverityLevels.
  9. Status. The status of the case in the AWS Support Center.
  10. Subject. The subject line of the case.
  11. SubmittedBy. The email address of the account that submitted the case.
  12. TimeCreated. The time the case was created, in ISO-8601 format.
See Also:
  • Constructor Details

    • CaseDetails

      public CaseDetails()
  • Method Details

    • setCaseId

      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

      Parameters:
      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
    • getCaseId

      public 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

      Returns:
      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
    • withCaseId

      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

      Parameters:
      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
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDisplayId

      public void setDisplayId(String displayId)

      The ID displayed for the case in the AWS Support Center. This is a numeric string.

      Parameters:
      displayId - The ID displayed for the case in the AWS Support Center. This is a numeric string.
    • getDisplayId

      public String getDisplayId()

      The ID displayed for the case in the AWS Support Center. This is a numeric string.

      Returns:
      The ID displayed for the case in the AWS Support Center. This is a numeric string.
    • withDisplayId

      public CaseDetails withDisplayId(String displayId)

      The ID displayed for the case in the AWS Support Center. This is a numeric string.

      Parameters:
      displayId - The ID displayed for the case in the AWS Support Center. This is a numeric string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSubject

      public void setSubject(String subject)

      The subject line for the case in the AWS Support Center.

      Parameters:
      subject - The subject line for the case in the AWS Support Center.
    • getSubject

      public String getSubject()

      The subject line for the case in the AWS Support Center.

      Returns:
      The subject line for the case in the AWS Support Center.
    • withSubject

      public CaseDetails withSubject(String subject)

      The subject line for the case in the AWS Support Center.

      Parameters:
      subject - The subject line for the case in the AWS Support Center.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus

      public void setStatus(String status)

      The status of the case.

      Parameters:
      status - The status of the case.
    • getStatus

      public String getStatus()

      The status of the case.

      Returns:
      The status of the case.
    • withStatus

      public CaseDetails withStatus(String status)

      The status of the case.

      Parameters:
      status - The status of the case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setServiceCode

      public void setServiceCode(String serviceCode)

      The code for the AWS service returned by the call to DescribeServices.

      Parameters:
      serviceCode - The code for the AWS service returned by the call to DescribeServices.
    • getServiceCode

      public String getServiceCode()

      The code for the AWS service returned by the call to DescribeServices.

      Returns:
      The code for the AWS service returned by the call to DescribeServices.
    • withServiceCode

      public CaseDetails withServiceCode(String serviceCode)

      The code for the AWS service returned by the call to DescribeServices.

      Parameters:
      serviceCode - The code for the AWS service returned by the call to DescribeServices.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCategoryCode

      public void setCategoryCode(String categoryCode)

      The category of problem for the AWS Support case.

      Parameters:
      categoryCode - The category of problem for the AWS Support case.
    • getCategoryCode

      public String getCategoryCode()

      The category of problem for the AWS Support case.

      Returns:
      The category of problem for the AWS Support case.
    • withCategoryCode

      public CaseDetails withCategoryCode(String categoryCode)

      The category of problem for the AWS Support case.

      Parameters:
      categoryCode - The category of problem for the AWS Support case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSeverityCode

      public void setSeverityCode(String severityCode)

      The code for the severity level returned by the call to DescribeSeverityLevels.

      Parameters:
      severityCode - The code for the severity level returned by the call to DescribeSeverityLevels.
    • getSeverityCode

      public String getSeverityCode()

      The code for the severity level returned by the call to DescribeSeverityLevels.

      Returns:
      The code for the severity level returned by the call to DescribeSeverityLevels.
    • withSeverityCode

      public CaseDetails withSeverityCode(String severityCode)

      The code for the severity level returned by the call to DescribeSeverityLevels.

      Parameters:
      severityCode - The code for the severity level returned by the call to DescribeSeverityLevels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSubmittedBy

      public void setSubmittedBy(String submittedBy)

      The email address of the account that submitted the case.

      Parameters:
      submittedBy - The email address of the account that submitted the case.
    • getSubmittedBy

      public String getSubmittedBy()

      The email address of the account that submitted the case.

      Returns:
      The email address of the account that submitted the case.
    • withSubmittedBy

      public CaseDetails withSubmittedBy(String submittedBy)

      The email address of the account that submitted the case.

      Parameters:
      submittedBy - The email address of the account that submitted the case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTimeCreated

      public void setTimeCreated(String timeCreated)

      The time that the case was case created in the AWS Support Center.

      Parameters:
      timeCreated - The time that the case was case created in the AWS Support Center.
    • getTimeCreated

      public String getTimeCreated()

      The time that the case was case created in the AWS Support Center.

      Returns:
      The time that the case was case created in the AWS Support Center.
    • withTimeCreated

      public CaseDetails withTimeCreated(String timeCreated)

      The time that the case was case created in the AWS Support Center.

      Parameters:
      timeCreated - The time that the case was case created in the AWS Support Center.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRecentCommunications

      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.

      Parameters:
      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.
    • getRecentCommunications

      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.

      Returns:
      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.
    • withRecentCommunications

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getCcEmailAddresses

      public List<String> getCcEmailAddresses()

      The email addresses that receive copies of communication about the case.

      Returns:
      The email addresses that receive copies of communication about the case.
    • setCcEmailAddresses

      public void setCcEmailAddresses(Collection<String> ccEmailAddresses)

      The email addresses that receive copies of communication about the case.

      Parameters:
      ccEmailAddresses - The email addresses that receive copies of communication about the case.
    • withCcEmailAddresses

      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.

      Parameters:
      ccEmailAddresses - The email addresses that receive copies of communication about the case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withCcEmailAddresses

      public CaseDetails withCcEmailAddresses(Collection<String> ccEmailAddresses)

      The email addresses that receive copies of communication about the case.

      Parameters:
      ccEmailAddresses - The email addresses that receive copies of communication about the case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLanguage

      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.

      Parameters:
      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.
    • getLanguage

      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.

      Returns:
      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.
    • withLanguage

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CaseDetails clone()
      Overrides:
      clone in class Object