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 Details

    • 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 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 a nextToken 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 nextToken that you can use to retrieve earlier communications.

      This is a convenience method that creates an instance of the RecentCaseCommunications.Builder avoiding the need to create one manually via RecentCaseCommunications.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recentCommunications(RecentCaseCommunications).

      Parameters:
      recentCommunications - a consumer that will call methods on RecentCaseCommunications.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 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 the language parameter if you want support in that language.
      Returns:
      Returns a reference to this object so that method calls can be chained together.