@Generated(value="software.amazon.awssdk:codegen") public final class CaseDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CaseDetails.Builder,CaseDetails>
A JSON-formatted object that contains the metadata for a support case. It is contained in 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.
nextToken. A resumption point for pagination.
recentCommunications. One or more Communication objects. Fields of these objects are
attachments, body, caseId, submittedBy, and
timeCreated.
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. The possible values are: low, normal, high,
urgent, and critical.
status. The status of the case in the AWS Support Center. Valid values:
opened
pending-customer-action
reopened
resolved
unassigned
work-in-progress
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CaseDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CaseDetails.Builder |
builder() |
String |
caseId()
The AWS Support case ID requested or returned in the call.
|
String |
categoryCode()
The category of problem for the AWS Support case.
|
List<String> |
ccEmailAddresses()
The email addresses that receive copies of communication about the case.
|
String |
displayId()
The ID displayed for the case in the AWS Support Center.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCcEmailAddresses()
Returns true if the CcEmailAddresses property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
String |
language()
The ISO 639-1 code for the language in which AWS provides support.
|
RecentCaseCommunications |
recentCommunications()
The five most recent communications between you and AWS Support Center, including the IDs of any attachments to
the communications.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CaseDetails.Builder> |
serializableBuilderClass() |
String |
serviceCode()
The code for the AWS service.
|
String |
severityCode()
The code for the severity level returned by the call to DescribeSeverityLevels.
|
String |
status()
The status of the case.
|
String |
subject()
The subject line for the case in the AWS Support Center.
|
String |
submittedBy()
The email address of the account that submitted the case.
|
String |
timeCreated()
The time that the case was created in the AWS Support Center.
|
CaseDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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
public final String displayId()
The ID displayed for the case in the AWS Support Center. This is a numeric string.
public final String subject()
The subject line for the case in the AWS Support Center.
public final String status()
The status of the case.
Valid values:
opened
pending-customer-action
reopened
resolved
unassigned
work-in-progress
Valid values:
opened
pending-customer-action
reopened
resolved
unassigned
work-in-progress
public final String serviceCode()
The code for the AWS service. You can get a list of codes and the corresponding service names by calling DescribeServices.
public final String categoryCode()
The category of problem for the AWS Support case.
public final String severityCode()
The code for the severity level returned by the call to DescribeSeverityLevels.
public final String submittedBy()
The email address of the account that submitted the case.
public final String timeCreated()
The time that the case was created in the AWS Support Center.
public final 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.
nextToken that you can use to retrieve
earlier communications.public final boolean hasCcEmailAddresses()
public final List<String> ccEmailAddresses()
The email addresses that receive copies of communication about the case.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCcEmailAddresses() to see if a value was sent in this field.
public final 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 CaseDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CaseDetails.Builder,CaseDetails>public static CaseDetails.Builder builder()
public static Class<? extends CaseDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.