Interface CaseDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CaseDetails.Builder,
,CaseDetails> SdkBuilder<CaseDetails.Builder,
,CaseDetails> SdkPojo
- Enclosing class:
CaseDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe support case ID requested or returned in the call.categoryCode
(String categoryCode) The category of problem for the support case.ccEmailAddresses
(String... ccEmailAddresses) The email addresses that receive copies of communication about the case.ccEmailAddresses
(Collection<String> ccEmailAddresses) The email addresses that receive copies of communication about the case.The ID displayed for the case in the Amazon Web Services Support Center.The language in which Amazon Web Services Support handles the case.default CaseDetails.Builder
recentCommunications
(Consumer<RecentCaseCommunications.Builder> recentCommunications) The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any attachments to the communications.recentCommunications
(RecentCaseCommunications recentCommunications) The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any attachments to the communications.serviceCode
(String serviceCode) The code for the Amazon Web Services service.severityCode
(String severityCode) 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 Amazon Web Services Support Center.submittedBy
(String submittedBy) The email address of the account that submitted the case.timeCreated
(String timeCreated) The time that the case was created in the Amazon Web Services Support Center.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
caseId
The 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 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.
-
displayId
The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.
- Parameters:
displayId
- The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subject
The subject line for the case in the Amazon Web Services Support Center.
- Parameters:
subject
- The subject line for the case in the Amazon Web Services Support Center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the case.
Valid values:
-
opened
-
pending-customer-action
-
reopened
-
resolved
-
unassigned
-
work-in-progress
- Parameters:
status
- The status of the case.Valid values:
-
opened
-
pending-customer-action
-
reopened
-
resolved
-
unassigned
-
work-in-progress
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
serviceCode
The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices.
- Parameters:
serviceCode
- The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categoryCode
The category of problem for the support case.
- Parameters:
categoryCode
- The category of problem for the support case.- Returns:
- 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.
- 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.
-
submittedBy
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.
-
timeCreated
The time that the case was created in the Amazon Web Services Support Center.
- Parameters:
timeCreated
- The time that the case was created in the Amazon Web Services Support Center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recentCommunications
The five most recent communications between you and Amazon Web Services 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 Amazon Web Services 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.
-
recentCommunications
default CaseDetails.Builder recentCommunications(Consumer<RecentCaseCommunications.Builder> recentCommunications) The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any attachments to the communications. Also includes a
This is a convenience method that creates an instance of thenextToken
that you can use to retrieve earlier communications.RecentCaseCommunications.Builder
avoiding the need to create one manually viaRecentCaseCommunications.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecentCommunications(RecentCaseCommunications)
.- Parameters:
recentCommunications
- a consumer that will call methods onRecentCaseCommunications.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ccEmailAddresses
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.
-
ccEmailAddresses
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.
-
language
The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1 code for the
language
parameter if you want support in that language.- Parameters:
language
- The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1 code for thelanguage
parameter if you want support in that language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-