Interface CaseDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CaseDetails.Builder,CaseDetails>,SdkBuilder<CaseDetails.Builder,CaseDetails>,SdkPojo
- Enclosing class:
- CaseDetails
public static interface CaseDetails.Builder extends SdkPojo, CopyableBuilder<CaseDetails.Builder,CaseDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CaseDetails.BuildercaseId(String caseId)The support case ID requested or returned in the call.CaseDetails.BuildercategoryCode(String categoryCode)The category of problem for the support case.CaseDetails.BuilderccEmailAddresses(String... ccEmailAddresses)The email addresses that receive copies of communication about the case.CaseDetails.BuilderccEmailAddresses(Collection<String> ccEmailAddresses)The email addresses that receive copies of communication about the case.CaseDetails.BuilderdisplayId(String displayId)The ID displayed for the case in the Amazon Web Services Support Center.CaseDetails.Builderlanguage(String language)The language in which Amazon Web Services Support handles the case.default CaseDetails.BuilderrecentCommunications(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.CaseDetails.BuilderrecentCommunications(RecentCaseCommunications recentCommunications)The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any attachments to the communications.CaseDetails.BuilderserviceCode(String serviceCode)The code for the Amazon Web Services service.CaseDetails.BuilderseverityCode(String severityCode)The code for the severity level returned by the call to DescribeSeverityLevels.CaseDetails.Builderstatus(String status)The status of the case.CaseDetails.Buildersubject(String subject)The subject line for the case in the Amazon Web Services Support Center.CaseDetails.BuildersubmittedBy(String submittedBy)The email address of the account that submitted the case.CaseDetails.BuildertimeCreated(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 Detail
-
caseId
CaseDetails.Builder caseId(String 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
CaseDetails.Builder displayId(String 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
CaseDetails.Builder subject(String 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
CaseDetails.Builder status(String 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
CaseDetails.Builder serviceCode(String 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
CaseDetails.Builder categoryCode(String 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
CaseDetails.Builder severityCode(String 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
CaseDetails.Builder submittedBy(String 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
CaseDetails.Builder timeCreated(String 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
CaseDetails.Builder 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. Also includes a
nextTokenthat 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 anextTokenthat 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 thenextTokenthat you can use to retrieve earlier communications.RecentCaseCommunications.Builderavoiding the need to create one manually viaRecentCaseCommunications.builder().When the
Consumercompletes,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:
recentCommunications(RecentCaseCommunications)
-
ccEmailAddresses
CaseDetails.Builder ccEmailAddresses(Collection<String> 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
CaseDetails.Builder ccEmailAddresses(String... 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
CaseDetails.Builder language(String 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
languageparameter 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 thelanguageparameter if you want support in that language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-