com.amazonaws.services.support.model
Class CaseDetails

java.lang.Object
  extended by com.amazonaws.services.support.model.CaseDetails
All Implemented Interfaces:
Serializable

public class CaseDetails
extends Object
implements Serializable

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 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:
Serialized Form

Constructor Summary
CaseDetails()
           
 
Method Summary
 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.
 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 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.
 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.
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CaseDetails

public CaseDetails()
Method Detail

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

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

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

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

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.

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.

withDisplayId

public CaseDetails withDisplayId(String displayId)
The ID displayed for the case in the AWS Support Center. This is a numeric string.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

withSubject

public CaseDetails withSubject(String subject)
The subject line for the case in the AWS Support Center.

Returns a reference to this object so that method calls can be chained together.

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

getStatus

public String getStatus()
The status of the case.

Returns:
The status of the case.

setStatus

public void setStatus(String status)
The status of the case.

Parameters:
status - The status of the case.

withStatus

public CaseDetails withStatus(String status)
The status of the case.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

withServiceCode

public CaseDetails withServiceCode(String serviceCode)
The code for the AWS service returned by the call to DescribeServices.

Returns a reference to this object so that method calls can be chained together.

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

getCategoryCode

public String getCategoryCode()
The category of problem for the AWS Support case.

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

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.

withCategoryCode

public CaseDetails withCategoryCode(String categoryCode)
The category of problem for the AWS Support case.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

withSeverityCode

public CaseDetails withSeverityCode(String severityCode)
The code for the severity level returned by the call to DescribeSeverityLevels.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

withSubmittedBy

public CaseDetails withSubmittedBy(String submittedBy)
The email address of the account that submitted the case.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

withTimeCreated

public CaseDetails withTimeCreated(String timeCreated)
The time that the case was case created in the AWS Support Center.

Returns a reference to this object so that method calls can be chained together.

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

getRecentCommunications

public RecentCaseCommunications getRecentCommunications()
The five most recent communications between you and AWS Support Center. Includes a nextToken to retrieve the next set of communications.

Returns:
The five most recent communications between you and AWS Support Center. Includes a nextToken to retrieve the next set of communications.

setRecentCommunications

public void setRecentCommunications(RecentCaseCommunications recentCommunications)
The five most recent communications between you and AWS Support Center. Includes a nextToken to retrieve the next set of communications.

Parameters:
recentCommunications - The five most recent communications between you and AWS Support Center. Includes a nextToken to retrieve the next set of communications.

withRecentCommunications

public CaseDetails withRecentCommunications(RecentCaseCommunications recentCommunications)
The five most recent communications between you and AWS Support Center. Includes a nextToken to retrieve the next set of communications.

Returns a reference to this object so that method calls can be chained together.

Parameters:
recentCommunications - The five most recent communications between you and AWS Support Center. Includes a nextToken to retrieve the next set of communications.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
ccEmailAddresses - The email addresses that receive copies of communication about the case.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2016. All rights reserved.