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:
Body
,
CaseId
,
SubmittedBy
, and
TimeCreated
.Constructor and Description |
---|
CaseDetails() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getCaseId()
public void setCaseId(String caseId)
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-c4c1d2bf33c5cf47public CaseDetails withCaseId(String caseId)
Returns a reference to this object so that method calls can be chained together.
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-c4c1d2bf33c5cf47public String getDisplayId()
public void setDisplayId(String displayId)
displayId
- The ID displayed for the case in the 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
- The ID displayed for the case in the AWS Support Center. This is a
numeric string.public String getSubject()
public void setSubject(String subject)
subject
- The subject line for the case in the AWS Support Center.public CaseDetails withSubject(String subject)
Returns a reference to this object so that method calls can be chained together.
subject
- The subject line for the case in the AWS Support Center.public String getStatus()
public void setStatus(String status)
status
- The status of the case.public CaseDetails withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of the case.public String getServiceCode()
public void setServiceCode(String serviceCode)
serviceCode
- The 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
- The code for the AWS service returned by the call to
DescribeServices.public String getCategoryCode()
public void setCategoryCode(String categoryCode)
categoryCode
- 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
- The category of problem for the AWS Support case.public String getSeverityCode()
public void setSeverityCode(String severityCode)
severityCode
- The 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
- The code for the severity level returned by the call to
DescribeSeverityLevels.public String getSubmittedBy()
public void setSubmittedBy(String submittedBy)
submittedBy
- The email address of the account that submitted the case.public CaseDetails withSubmittedBy(String submittedBy)
Returns a reference to this object so that method calls can be chained together.
submittedBy
- The email address of the account that submitted the case.public String getTimeCreated()
public void setTimeCreated(String timeCreated)
timeCreated
- The time that the case was case created in the AWS Support Center.public CaseDetails withTimeCreated(String timeCreated)
Returns a reference to this object so that method calls can be chained together.
timeCreated
- The time that the case was case created in the AWS Support Center.public RecentCaseCommunications getRecentCommunications()
nextToken
to retrieve the next set of
communications.nextToken
to retrieve the next set of
communications.public void setRecentCommunications(RecentCaseCommunications recentCommunications)
nextToken
to retrieve the next set of
communications.recentCommunications
- 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)
nextToken
to retrieve the next set of
communications.
Returns a reference to this object so that method calls can be chained together.
recentCommunications
- 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
- The email addresses that receive copies of communication about the
case.public CaseDetails withCcEmailAddresses(String... ccEmailAddresses)
Returns a reference to this object so that method calls can be chained together.
ccEmailAddresses
- The email addresses that receive copies of 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
- The email addresses that receive copies of communication about the
case.public String getLanguage()
public void setLanguage(String language)
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.public CaseDetails withLanguage(String language)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.