Interface AddCommunicationToCaseRequest.Builder

  • 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-exen-2025-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-exen-2025-c4c1d2bf33c5cf47
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • communicationBody

      AddCommunicationToCaseRequest.Builder communicationBody(String communicationBody)

      The body of an email communication to add to the support case.

      Parameters:
      communicationBody - The body of an email communication to add to the support case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ccEmailAddresses

      AddCommunicationToCaseRequest.Builder ccEmailAddresses(Collection<String> ccEmailAddresses)

      The email addresses in the CC line of an email to be added to the support case.

      Parameters:
      ccEmailAddresses - The email addresses in the CC line of an email to be added to the support case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ccEmailAddresses

      AddCommunicationToCaseRequest.Builder ccEmailAddresses(String... ccEmailAddresses)

      The email addresses in the CC line of an email to be added to the support case.

      Parameters:
      ccEmailAddresses - The email addresses in the CC line of an email to be added to the support case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentSetId

      AddCommunicationToCaseRequest.Builder attachmentSetId(String attachmentSetId)

      The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet. Each attachment in the set must be 5 MB or smaller. To attach files larger than 5 MB, use uploadIds.

      Parameters:
      attachmentSetId - The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet. Each attachment in the set must be 5 MB or smaller. To attach files larger than 5 MB, use uploadIds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uploadIds

      A list of upload IDs that identify attachments to add to the case. Each uploadId is returned by the GetAttachmentUploadLinks operation. The upload must reach the attachment-ready state by calling CompleteAttachmentUpload before it can be passed here. Use uploadIds to attach files of any supported size, including files larger than 5 MB.

      Parameters:
      uploadIds - A list of upload IDs that identify attachments to add to the case. Each uploadId is returned by the GetAttachmentUploadLinks operation. The upload must reach the attachment-ready state by calling CompleteAttachmentUpload before it can be passed here. Use uploadIds to attach files of any supported size, including files larger than 5 MB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uploadIds

      A list of upload IDs that identify attachments to add to the case. Each uploadId is returned by the GetAttachmentUploadLinks operation. The upload must reach the attachment-ready state by calling CompleteAttachmentUpload before it can be passed here. Use uploadIds to attach files of any supported size, including files larger than 5 MB.

      Parameters:
      uploadIds - A list of upload IDs that identify attachments to add to the case. Each uploadId is returned by the GetAttachmentUploadLinks operation. The upload must reach the attachment-ready state by calling CompleteAttachmentUpload before it can be passed here. Use uploadIds to attach files of any supported size, including files larger than 5 MB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dryRun

      Specifies whether to validate the request without actually adding the communication to the case. When set to true, the request is validated but the communication isn't added, and the operation returns a DryRunOperationException. When omitted or set to false, the request runs normally.

      Parameters:
      dryRun - Specifies whether to validate the request without actually adding the communication to the case. When set to true, the request is validated but the communication isn't added, and the operation returns a DryRunOperationException. When omitted or set to false, the request runs normally.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      AddCommunicationToCaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.