Class CaseDetails
- All Implemented Interfaces:
Serializable
,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:
- 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.
- CategoryCode. The category of problem for the AWS Support case. Corresponds to the CategoryCode values returned by a call to DescribeServices.
- DisplayId. The identifier for the case on pages in the AWS Support Center.
- 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.
- RecentCommunications. One or more Communication objects.
Fields of these objects are
Attachments
,Body
,CaseId
,SubmittedBy
, andTimeCreated
. - NextToken. A resumption point for pagination.
- ServiceCode. The identifier for the AWS service that corresponds to the service code defined in the call to DescribeServices.
- SeverityCode. The severity code assigned to the case. Contains one of the values returned by the call to DescribeSeverityLevels.
- Status. The status of the case in the AWS Support Center.
- Subject. The subject line of the case.
- SubmittedBy. The email address of the account that submitted the case.
- TimeCreated. The time the case was created, in ISO-8601 format.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The AWS Support case ID requested or returned in the call.The category of problem for the AWS Support case.The email addresses that receive copies of communication about the case.The ID displayed for the case in the AWS Support Center.The ISO 639-1 code for the language in which AWS provides support.The five most recent communications between you and AWS Support Center, including the IDs of any attachments to the communications.The code for the AWS service returned by the call to DescribeServices.The code for the severity level returned by the call to DescribeSeverityLevels.The status of the case.The subject line for the case in the AWS Support Center.The email address of the account that submitted the case.The time that the case was case created in the AWS Support Center.int
hashCode()
void
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, including the IDs of any attachments to the communications.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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withCaseId
(String caseId) The AWS Support case ID requested or returned in the call.withCategoryCode
(String categoryCode) The category of problem for the AWS Support case.withCcEmailAddresses
(String... ccEmailAddresses) The email addresses that receive copies of communication about the case.withCcEmailAddresses
(Collection<String> ccEmailAddresses) The email addresses that receive copies of communication about the case.withDisplayId
(String displayId) The ID displayed for the case in the AWS Support Center.withLanguage
(String language) The ISO 639-1 code for the language in which AWS provides support.withRecentCommunications
(RecentCaseCommunications recentCommunications) The five most recent communications between you and AWS Support Center, including the IDs of any attachments to the communications.withServiceCode
(String serviceCode) The code for the AWS service returned by the call to DescribeServices.withSeverityCode
(String severityCode) The code for the severity level returned by the call to DescribeSeverityLevels.withStatus
(String status) The status of the case.withSubject
(String subject) The subject line for the case in the AWS Support Center.withSubmittedBy
(String submittedBy) The email address of the account that submitted the case.withTimeCreated
(String timeCreated) The time that the case was case created in the AWS Support Center.
-
Constructor Details
-
CaseDetails
public CaseDetails()
-
-
Method Details
-
setCaseId
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
-
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
-
withCaseId
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDisplayId
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.
-
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.
-
withDisplayId
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubject
The subject line for the case in the AWS Support Center.
- Parameters:
subject
- The subject line for the case in the AWS Support Center.
-
getSubject
The subject line for the case in the AWS Support Center.
- Returns:
- The subject line for the case in the AWS Support Center.
-
withSubject
The subject line for the case in the AWS Support Center.
- Parameters:
subject
- The subject line for the case in the AWS Support Center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The status of the case.
- Parameters:
status
- The status of the case.
-
getStatus
The status of the case.
- Returns:
- The status of the case.
-
withStatus
The status of the case.
- Parameters:
status
- The status of the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServiceCode
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.
-
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.
-
withServiceCode
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCategoryCode
The category of problem for the AWS Support case.
- Parameters:
categoryCode
- The category of problem for the AWS Support case.
-
getCategoryCode
The category of problem for the AWS Support case.
- Returns:
- The category of problem for the AWS Support case.
-
withCategoryCode
The category of problem for the AWS Support case.
- Parameters:
categoryCode
- The category of problem for the AWS Support case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSeverityCode
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.
-
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.
-
withSeverityCode
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubmittedBy
The email address of the account that submitted the case.
- Parameters:
submittedBy
- The email address of the account that submitted the case.
-
getSubmittedBy
The email address of the account that submitted the case.
- Returns:
- The email address of the account that submitted the case.
-
withSubmittedBy
The email address of the account that submitted the case.
- Parameters:
submittedBy
- The email address of the account that submitted the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimeCreated
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.
-
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.
-
withTimeCreated
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRecentCommunications
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.- Parameters:
recentCommunications
- The five most recent communications between you and AWS Support Center, including the IDs of any attachments to the communications. Also includes anextToken
that you can use to retrieve earlier communications.
-
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.- Returns:
- 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.
-
withRecentCommunications
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.- Parameters:
recentCommunications
- The five most recent communications between you and AWS Support Center, including the IDs of any attachments to the communications. Also includes anextToken
that you can use to retrieve earlier communications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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)
orwithCcEmailAddresses(java.util.Collection)
if you want to override the existing values.- Parameters:
ccEmailAddresses
- The email addresses that receive copies of communication about the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCcEmailAddresses
The email addresses that receive copies of communication about the case.
- Parameters:
ccEmailAddresses
- The email addresses that receive copies of communication about the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLanguage
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.
-
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.
-
withLanguage
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-