Did this page help you?

   Yes   No   Tell us about it...

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

JSON-formatted object that contains the metadata for a support case. It is contained the response from a DescribeCases request. This structure contains the following fields:

  1. CaseID . String that indicates the AWS Support caseID requested or returned in the call. The caseID is an alphanumeric string formatted as shown in this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47
  2. CategoryCode . Specifies the category of problem for the AWS Support case. Corresponds to the CategoryCode values returned by a call to DescribeServices
  3. DisplayId . String that identifies the case on pages in the AWS Support Center
  4. Language . Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja , respectively. Language parameters must be passed explicitly for operations that take them.
  5. RecentCommunications . One ore more Communication data types. Subfields of these structures are Body, CaseId, SubmittedBy, and TimeCreated.
  6. NextToken . Defines a resumption point for pagination.
  7. ServiceCode . Identifier for the AWS service that corresponds to the service code defined in the call to DescribeServices
  8. SeverityCode. Specifies the severity code assigned to the case. Contains one of the values returned by the call to DescribeSeverityLevels
  9. Status . Represents the status of your case in the AWS Support Center
  10. Subject . Represents the subject line of the case.
  11. SubmittedBy .Email address of the account that submitted the case.
  12. TimeCreated .Time the case was created, using ISO 8601 format.

See Also:
Serialized Form

Constructor Summary
CaseDetails()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCaseId()
          String that indicates the AWS Support caseID requested or returned in the call.
 String getCategoryCode()
          Specifies the category of problem for the AWS Support case.
 List<String> getCcEmailAddresses()
          List of email addresses that are copied in any communication about the case.
 String getDisplayId()
          Represents the Id value displayed on pages for the case in AWS Support Center.
 String getLanguage()
          Specifies the ISO 639-1 code for the language in which AWS provides support.
 RecentCaseCommunications getRecentCommunications()
          Returns up to the five most recent communications between you and AWS Support Center.
 String getServiceCode()
          Code for the AWS service returned by the call to DescribeServices.
 String getSeverityCode()
          Code for the severity level returned by the call to DescribeSeverityLevels.
 String getStatus()
          Represents the status of a case submitted to AWS Support.
 String getSubject()
          Represents the subject line for a support case in the AWS Support Center user interface.
 String getSubmittedBy()
          Represents the email address of the account that submitted the case to support.
 String getTimeCreated()
          Time that the case was case created in AWS Support Center.
 int hashCode()
           
 void setCaseId(String caseId)
          String that indicates the AWS Support caseID requested or returned in the call.
 void setCategoryCode(String categoryCode)
          Specifies the category of problem for the AWS Support case.
 void setCcEmailAddresses(Collection<String> ccEmailAddresses)
          List of email addresses that are copied in any communication about the case.
 void setDisplayId(String displayId)
          Represents the Id value displayed on pages for the case in AWS Support Center.
 void setLanguage(String language)
          Specifies the ISO 639-1 code for the language in which AWS provides support.
 void setRecentCommunications(RecentCaseCommunications recentCommunications)
          Returns up to the five most recent communications between you and AWS Support Center.
 void setServiceCode(String serviceCode)
          Code for the AWS service returned by the call to DescribeServices.
 void setSeverityCode(String severityCode)
          Code for the severity level returned by the call to DescribeSeverityLevels.
 void setStatus(String status)
          Represents the status of a case submitted to AWS Support.
 void setSubject(String subject)
          Represents the subject line for a support case in the AWS Support Center user interface.
 void setSubmittedBy(String submittedBy)
          Represents the email address of the account that submitted the case to support.
 void setTimeCreated(String timeCreated)
          Time that the case was case created in AWS Support Center.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CaseDetails withCaseId(String caseId)
          String that indicates the AWS Support caseID requested or returned in the call.
 CaseDetails withCategoryCode(String categoryCode)
          Specifies the category of problem for the AWS Support case.
 CaseDetails withCcEmailAddresses(Collection<String> ccEmailAddresses)
          List of email addresses that are copied in any communication about the case.
 CaseDetails withCcEmailAddresses(String... ccEmailAddresses)
          List of email addresses that are copied in any communication about the case.
 CaseDetails withDisplayId(String displayId)
          Represents the Id value displayed on pages for the case in AWS Support Center.
 CaseDetails withLanguage(String language)
          Specifies the ISO 639-1 code for the language in which AWS provides support.
 CaseDetails withRecentCommunications(RecentCaseCommunications recentCommunications)
          Returns up to the five most recent communications between you and AWS Support Center.
 CaseDetails withServiceCode(String serviceCode)
          Code for the AWS service returned by the call to DescribeServices.
 CaseDetails withSeverityCode(String severityCode)
          Code for the severity level returned by the call to DescribeSeverityLevels.
 CaseDetails withStatus(String status)
          Represents the status of a case submitted to AWS Support.
 CaseDetails withSubject(String subject)
          Represents the subject line for a support case in the AWS Support Center user interface.
 CaseDetails withSubmittedBy(String submittedBy)
          Represents the email address of the account that submitted the case to support.
 CaseDetails withTimeCreated(String timeCreated)
          Time that the case was case created in AWS Support Center.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CaseDetails

public CaseDetails()
Method Detail

getCaseId

public String getCaseId()
String that indicates the AWS Support caseID requested or returned in the call. The caseID is an alphanumeric string formatted as shown in this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47

Returns:
String that indicates the AWS Support caseID requested or returned in the call. The caseID is an alphanumeric string formatted as shown in this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47

setCaseId

public void setCaseId(String caseId)
String that indicates the AWS Support caseID requested or returned in the call. The caseID is an alphanumeric string formatted as shown in this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47

Parameters:
caseId - String that indicates the AWS Support caseID requested or returned in the call. The caseID is an alphanumeric string formatted as shown in this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47

withCaseId

public CaseDetails withCaseId(String caseId)
String that indicates the AWS Support caseID requested or returned in the call. The caseID is an alphanumeric string formatted as shown in this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47

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

Parameters:
caseId - String that indicates the AWS Support caseID requested or returned in the call. The caseID is an alphanumeric string formatted as shown in this example CaseId: case-12345678910-2013-c4c1d2bf33c5cf47
Returns:
A reference to this updated object so that method calls can be chained together.

getDisplayId

public String getDisplayId()
Represents the Id value displayed on pages for the case in AWS Support Center. This is a numeric string.

Returns:
Represents the Id value displayed on pages for the case in AWS Support Center. This is a numeric string.

setDisplayId

public void setDisplayId(String displayId)
Represents the Id value displayed on pages for the case in AWS Support Center. This is a numeric string.

Parameters:
displayId - Represents the Id value displayed on pages for the case in AWS Support Center. This is a numeric string.

withDisplayId

public CaseDetails withDisplayId(String displayId)
Represents the Id value displayed on pages for the case in AWS Support Center. This is a numeric string.

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

Parameters:
displayId - Represents the Id value displayed on pages for the case in 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()
Represents the subject line for a support case in the AWS Support Center user interface.

Returns:
Represents the subject line for a support case in the AWS Support Center user interface.

setSubject

public void setSubject(String subject)
Represents the subject line for a support case in the AWS Support Center user interface.

Parameters:
subject - Represents the subject line for a support case in the AWS Support Center user interface.

withSubject

public CaseDetails withSubject(String subject)
Represents the subject line for a support case in the AWS Support Center user interface.

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

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

getStatus

public String getStatus()
Represents the status of a case submitted to AWS Support.

Returns:
Represents the status of a case submitted to AWS Support.

setStatus

public void setStatus(String status)
Represents the status of a case submitted to AWS Support.

Parameters:
status - Represents the status of a case submitted to AWS Support.

withStatus

public CaseDetails withStatus(String status)
Represents the status of a case submitted to AWS Support.

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

Parameters:
status - Represents the status of a case submitted to AWS Support.
Returns:
A reference to this updated object so that method calls can be chained together.

getServiceCode

public String getServiceCode()
Code for the AWS service returned by the call to DescribeServices.

Returns:
Code for the AWS service returned by the call to DescribeServices.

setServiceCode

public void setServiceCode(String serviceCode)
Code for the AWS service returned by the call to DescribeServices.

Parameters:
serviceCode - Code for the AWS service returned by the call to DescribeServices.

withServiceCode

public CaseDetails withServiceCode(String serviceCode)
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 - 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()
Specifies the category of problem for the AWS Support case.

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

setCategoryCode

public void setCategoryCode(String categoryCode)
Specifies the category of problem for the AWS Support case.

Parameters:
categoryCode - Specifies the category of problem for the AWS Support case.

withCategoryCode

public CaseDetails withCategoryCode(String categoryCode)
Specifies 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 - Specifies 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()
Code for the severity level returned by the call to DescribeSeverityLevels.

Returns:
Code for the severity level returned by the call to DescribeSeverityLevels.

setSeverityCode

public void setSeverityCode(String severityCode)
Code for the severity level returned by the call to DescribeSeverityLevels.

Parameters:
severityCode - Code for the severity level returned by the call to DescribeSeverityLevels.

withSeverityCode

public CaseDetails withSeverityCode(String severityCode)
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 - 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()
Represents the email address of the account that submitted the case to support.

Returns:
Represents the email address of the account that submitted the case to support.

setSubmittedBy

public void setSubmittedBy(String submittedBy)
Represents the email address of the account that submitted the case to support.

Parameters:
submittedBy - Represents the email address of the account that submitted the case to support.

withSubmittedBy

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

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

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

getTimeCreated

public String getTimeCreated()
Time that the case was case created in AWS Support Center.

Returns:
Time that the case was case created in AWS Support Center.

setTimeCreated

public void setTimeCreated(String timeCreated)
Time that the case was case created in AWS Support Center.

Parameters:
timeCreated - Time that the case was case created in AWS Support Center.

withTimeCreated

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

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

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

getRecentCommunications

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

Returns:
Returns up to 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)
Returns up to the five most recent communications between you and AWS Support Center. Includes a nextToken to retrieve the next set of communications.

Parameters:
recentCommunications - Returns up to 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)
Returns up to 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 - Returns up to 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()
List of email addresses that are copied in any communication about the case.

Returns:
List of email addresses that are copied in any communication about the case.

setCcEmailAddresses

public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
List of email addresses that are copied in any communication about the case.

Parameters:
ccEmailAddresses - List of email addresses that are copied in any communication about the case.

withCcEmailAddresses

public CaseDetails withCcEmailAddresses(String... ccEmailAddresses)
List of email addresses that are copied in any communication about the case.

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

Parameters:
ccEmailAddresses - List of email addresses that are copied in any 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)
List of email addresses that are copied in any communication about the case.

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

Parameters:
ccEmailAddresses - List of email addresses that are copied in any communication about the case.
Returns:
A reference to this updated object so that method calls can be chained together.

getLanguage

public String getLanguage()
Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. Language parameters must be passed explicitly for operations that take them.

Returns:
Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. Language parameters must be passed explicitly for operations that take them.

setLanguage

public void setLanguage(String language)
Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. Language parameters must be passed explicitly for operations that take them.

Parameters:
language - Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. Language parameters must be passed explicitly for operations that take them.

withLanguage

public CaseDetails withLanguage(String language)
Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. 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 - Specifies the ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English and Japanese, for which the codes are en and ja, respectively. 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.