public class CaseDetails
extends java.lang.Object
implements java.io.Serializable, java.lang.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:
Attachments
, Body
,
CaseId
, SubmittedBy
, and TimeCreated
.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
caseId
The AWS Support case ID requested or returned in the call.
|
private java.lang.String |
categoryCode
The category of problem for the AWS Support case.
|
private SdkInternalList<java.lang.String> |
ccEmailAddresses
The email addresses that receive copies of communication about the case.
|
private java.lang.String |
displayId
The ID displayed for the case in the AWS Support Center.
|
private java.lang.String |
language
The ISO 639-1 code for the language in which AWS provides support.
|
private RecentCaseCommunications |
recentCommunications
The five most recent communications between you and AWS Support Center,
including the IDs of any attachments to the communications.
|
private java.lang.String |
serviceCode
The code for the AWS service returned by the call to
DescribeServices.
|
private java.lang.String |
severityCode
The code for the severity level returned by the call to
DescribeSeverityLevels.
|
private java.lang.String |
status
The status of the case.
|
private java.lang.String |
subject
The subject line for the case in the AWS Support Center.
|
private java.lang.String |
submittedBy
The email address of the account that submitted the case.
|
private java.lang.String |
timeCreated
The time that the case was case created in the AWS Support Center.
|
Constructor and Description |
---|
CaseDetails() |
Modifier and Type | Method and Description |
---|---|
CaseDetails |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCaseId()
The AWS Support case ID requested or returned in the call.
|
java.lang.String |
getCategoryCode()
The category of problem for the AWS Support case.
|
java.util.List<java.lang.String> |
getCcEmailAddresses()
The email addresses that receive copies of communication about the case.
|
java.lang.String |
getDisplayId()
The ID displayed for the case in the AWS Support Center.
|
java.lang.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,
including the IDs of any attachments to the communications.
|
java.lang.String |
getServiceCode()
The code for the AWS service returned by the call to
DescribeServices.
|
java.lang.String |
getSeverityCode()
The code for the severity level returned by the call to
DescribeSeverityLevels.
|
java.lang.String |
getStatus()
The status of the case.
|
java.lang.String |
getSubject()
The subject line for the case in the AWS Support Center.
|
java.lang.String |
getSubmittedBy()
The email address of the account that submitted the case.
|
java.lang.String |
getTimeCreated()
The time that the case was case created in the AWS Support Center.
|
int |
hashCode() |
void |
setCaseId(java.lang.String caseId)
The AWS Support case ID requested or returned in the call.
|
void |
setCategoryCode(java.lang.String categoryCode)
The category of problem for the AWS Support case.
|
void |
setCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)
The email addresses that receive copies of communication about the case.
|
void |
setDisplayId(java.lang.String displayId)
The ID displayed for the case in the AWS Support Center.
|
void |
setLanguage(java.lang.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,
including the IDs of any attachments to the communications.
|
void |
setServiceCode(java.lang.String serviceCode)
The code for the AWS service returned by the call to
DescribeServices.
|
void |
setSeverityCode(java.lang.String severityCode)
The code for the severity level returned by the call to
DescribeSeverityLevels.
|
void |
setStatus(java.lang.String status)
The status of the case.
|
void |
setSubject(java.lang.String subject)
The subject line for the case in the AWS Support Center.
|
void |
setSubmittedBy(java.lang.String submittedBy)
The email address of the account that submitted the case.
|
void |
setTimeCreated(java.lang.String timeCreated)
The time that the case was case created in the AWS Support Center.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CaseDetails |
withCaseId(java.lang.String caseId)
The AWS Support case ID requested or returned in the call.
|
CaseDetails |
withCategoryCode(java.lang.String categoryCode)
The category of problem for the AWS Support case.
|
CaseDetails |
withCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)
The email addresses that receive copies of communication about the case.
|
CaseDetails |
withCcEmailAddresses(java.lang.String... ccEmailAddresses)
The email addresses that receive copies of communication about the case.
|
CaseDetails |
withDisplayId(java.lang.String displayId)
The ID displayed for the case in the AWS Support Center.
|
CaseDetails |
withLanguage(java.lang.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,
including the IDs of any attachments to the communications.
|
CaseDetails |
withServiceCode(java.lang.String serviceCode)
The code for the AWS service returned by the call to
DescribeServices.
|
CaseDetails |
withSeverityCode(java.lang.String severityCode)
The code for the severity level returned by the call to
DescribeSeverityLevels.
|
CaseDetails |
withStatus(java.lang.String status)
The status of the case.
|
CaseDetails |
withSubject(java.lang.String subject)
The subject line for the case in the AWS Support Center.
|
CaseDetails |
withSubmittedBy(java.lang.String submittedBy)
The email address of the account that submitted the case.
|
CaseDetails |
withTimeCreated(java.lang.String timeCreated)
The time that the case was case created in the AWS Support Center.
|
private java.lang.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
private java.lang.String displayId
The ID displayed for the case in the AWS Support Center. This is a numeric string.
private java.lang.String subject
The subject line for the case in the AWS Support Center.
private java.lang.String status
The status of the case.
private java.lang.String serviceCode
The code for the AWS service returned by the call to DescribeServices.
private java.lang.String categoryCode
The category of problem for the AWS Support case.
private java.lang.String severityCode
The code for the severity level returned by the call to DescribeSeverityLevels.
private java.lang.String submittedBy
The email address of the account that submitted the case.
private java.lang.String timeCreated
The time that the case was case created in the AWS Support Center.
private 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.
private SdkInternalList<java.lang.String> ccEmailAddresses
The email addresses that receive copies of communication about the case.
private java.lang.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.
public void setCaseId(java.lang.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
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 java.lang.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
public CaseDetails withCaseId(java.lang.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
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 void setDisplayId(java.lang.String displayId)
The ID displayed for the case in the AWS Support Center. This is a numeric string.
displayId
- The ID displayed for the case in the AWS Support Center. This is a
numeric string.public java.lang.String getDisplayId()
The ID displayed for the case in the AWS Support Center. This is a numeric string.
public CaseDetails withDisplayId(java.lang.String displayId)
The ID displayed for the case in the AWS Support Center. This is a numeric string.
displayId
- The ID displayed for the case in the AWS Support Center. This is a
numeric string.public void setSubject(java.lang.String subject)
The subject line for the case in the AWS Support Center.
subject
- The subject line for the case in the AWS Support Center.public java.lang.String getSubject()
The subject line for the case in the AWS Support Center.
public CaseDetails withSubject(java.lang.String subject)
The subject line for the case in the AWS Support Center.
subject
- The subject line for the case in the AWS Support Center.public void setStatus(java.lang.String status)
The status of the case.
status
- The status of the case.public java.lang.String getStatus()
The status of the case.
public CaseDetails withStatus(java.lang.String status)
The status of the case.
status
- The status of the case.public void setServiceCode(java.lang.String serviceCode)
The code for the AWS service returned by the call to DescribeServices.
serviceCode
- The code for the AWS service returned by the call to
DescribeServices.public java.lang.String getServiceCode()
The code for the AWS service returned by the call to DescribeServices.
public CaseDetails withServiceCode(java.lang.String serviceCode)
The code for the AWS service returned by the call to DescribeServices.
serviceCode
- The code for the AWS service returned by the call to
DescribeServices.public void setCategoryCode(java.lang.String categoryCode)
The category of problem for the AWS Support case.
categoryCode
- The category of problem for the AWS Support case.public java.lang.String getCategoryCode()
The category of problem for the AWS Support case.
public CaseDetails withCategoryCode(java.lang.String categoryCode)
The category of problem for the AWS Support case.
categoryCode
- The category of problem for the AWS Support case.public void setSeverityCode(java.lang.String severityCode)
The code for the severity level returned by the call to DescribeSeverityLevels.
severityCode
- The code for the severity level returned by the call to
DescribeSeverityLevels.public java.lang.String getSeverityCode()
The code for the severity level returned by the call to DescribeSeverityLevels.
public CaseDetails withSeverityCode(java.lang.String severityCode)
The code for the severity level returned by the call to DescribeSeverityLevels.
severityCode
- The code for the severity level returned by the call to
DescribeSeverityLevels.public void setSubmittedBy(java.lang.String submittedBy)
The email address of the account that submitted the case.
submittedBy
- The email address of the account that submitted the case.public java.lang.String getSubmittedBy()
The email address of the account that submitted the case.
public CaseDetails withSubmittedBy(java.lang.String submittedBy)
The email address of the account that submitted the case.
submittedBy
- The email address of the account that submitted the case.public void setTimeCreated(java.lang.String timeCreated)
The time that the case was case created in the AWS Support Center.
timeCreated
- The time that the case was case created in the AWS Support Center.public java.lang.String getTimeCreated()
The time that the case was case created in the AWS Support Center.
public CaseDetails withTimeCreated(java.lang.String timeCreated)
The time that the case was case created in the AWS Support Center.
timeCreated
- The time that the case was case created in the AWS Support Center.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.
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.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.
nextToken
that you
can use to retrieve earlier communications.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.
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.public java.util.List<java.lang.String> getCcEmailAddresses()
The email addresses that receive copies of communication about the case.
public void setCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)
The email addresses that receive copies of communication about the case.
ccEmailAddresses
- The email addresses that receive copies of communication about the
case.public CaseDetails withCcEmailAddresses(java.lang.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.
ccEmailAddresses
- The email addresses that receive copies of communication about the
case.public CaseDetails withCcEmailAddresses(java.util.Collection<java.lang.String> ccEmailAddresses)
The email addresses that receive copies of communication about the case.
ccEmailAddresses
- The email addresses that receive copies of communication about the
case.public void setLanguage(java.lang.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.
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 java.lang.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.
public CaseDetails withLanguage(java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CaseDetails clone()
clone
in class java.lang.Object