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:
Constructor and Description |
---|
CaseDetails() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getCaseId()
public void setCaseId(String caseId)
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-c4c1d2bf33c5cf47public CaseDetails withCaseId(String caseId)
Returns a reference to this object so that method calls can be chained together.
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-c4c1d2bf33c5cf47public String getDisplayId()
public void setDisplayId(String displayId)
displayId
- Represents the Id value displayed on pages for the case in AWS Support
Center. This is a numeric string.public CaseDetails withDisplayId(String displayId)
Returns a reference to this object so that method calls can be chained together.
displayId
- Represents the Id value displayed on pages for the case in AWS Support
Center. This is a numeric string.public String getSubject()
public void setSubject(String subject)
subject
- Represents the subject line for a support case in the AWS Support
Center user interface.public CaseDetails withSubject(String subject)
Returns a reference to this object so that method calls can be chained together.
subject
- Represents the subject line for a support case in the AWS Support
Center user interface.public String getStatus()
public void setStatus(String status)
status
- Represents the status of a case submitted to AWS Support.public CaseDetails withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- Represents the status of a case submitted to AWS Support.public String getServiceCode()
public void setServiceCode(String serviceCode)
serviceCode
- Code for the AWS service returned by the call to DescribeServices.public CaseDetails withServiceCode(String serviceCode)
Returns a reference to this object so that method calls can be chained together.
serviceCode
- Code for the AWS service returned by the call to DescribeServices.public String getCategoryCode()
public void setCategoryCode(String categoryCode)
categoryCode
- Specifies the category of problem for the AWS Support case.public CaseDetails withCategoryCode(String categoryCode)
Returns a reference to this object so that method calls can be chained together.
categoryCode
- Specifies the category of problem for the AWS Support case.public String getSeverityCode()
public void setSeverityCode(String severityCode)
severityCode
- Code for the severity level returned by the call to DescribeSeverityLevels.public CaseDetails withSeverityCode(String severityCode)
Returns a reference to this object so that method calls can be chained together.
severityCode
- Code for the severity level returned by the call to DescribeSeverityLevels.public String getSubmittedBy()
public void setSubmittedBy(String submittedBy)
submittedBy
- Represents the email address of the account that submitted the case to
support.public CaseDetails withSubmittedBy(String submittedBy)
Returns a reference to this object so that method calls can be chained together.
submittedBy
- Represents the email address of the account that submitted the case to
support.public String getTimeCreated()
public void setTimeCreated(String timeCreated)
timeCreated
- Time that the case was case created in AWS Support Center.public CaseDetails withTimeCreated(String timeCreated)
Returns a reference to this object so that method calls can be chained together.
timeCreated
- Time that the case was case created in AWS Support Center.public RecentCaseCommunications getRecentCommunications()
public void setRecentCommunications(RecentCaseCommunications recentCommunications)
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.public CaseDetails withRecentCommunications(RecentCaseCommunications recentCommunications)
Returns a reference to this object so that method calls can be chained together.
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.public List<String> getCcEmailAddresses()
public void setCcEmailAddresses(Collection<String> ccEmailAddresses)
ccEmailAddresses
- List of email addresses that are copied in any communication about the
case.public CaseDetails withCcEmailAddresses(String... ccEmailAddresses)
Returns a reference to this object so that method calls can be chained together.
ccEmailAddresses
- List of email addresses that are copied in any communication about the
case.public CaseDetails withCcEmailAddresses(Collection<String> ccEmailAddresses)
Returns a reference to this object so that method calls can be chained together.
ccEmailAddresses
- List of email addresses that are copied in any communication about the
case.public String getLanguage()
public void setLanguage(String language)
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.public CaseDetails withLanguage(String language)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.