Interface Communication.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Communication.Builder,Communication>, SdkBuilder<Communication.Builder,Communication>, SdkPojo
Enclosing class:
Communication

public static interface Communication.Builder extends SdkPojo, CopyableBuilder<Communication.Builder,Communication>
  • Method Details

    • caseId

      Communication.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.
    • body

      The text of the communication between the customer and Amazon Web Services Support.

      Parameters:
      body - The text of the communication between the customer and Amazon Web Services Support.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • submittedBy

      Communication.Builder submittedBy(String submittedBy)

      The identity of the account that submitted, or responded to, the support case. Customer entries include the IAM role as well as the email address (for example, "AdminRole (Role) <janedoe@example.com>). Entries from the Amazon Web Services Support team display " Amazon Web Services," and don't show an email address.

      Parameters:
      submittedBy - The identity of the account that submitted, or responded to, the support case. Customer entries include the IAM role as well as the email address (for example, "AdminRole (Role) <janedoe@example.com>). Entries from the Amazon Web Services Support team display " Amazon Web Services," and don't show an email address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeCreated

      Communication.Builder timeCreated(String timeCreated)

      The time the communication was created.

      Parameters:
      timeCreated - The time the communication was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentSet

      Communication.Builder attachmentSet(Collection<AttachmentDetails> attachmentSet)

      Information about the attachments to the case communication.

      Parameters:
      attachmentSet - Information about the attachments to the case communication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentSet

      Communication.Builder attachmentSet(AttachmentDetails... attachmentSet)

      Information about the attachments to the case communication.

      Parameters:
      attachmentSet - Information about the attachments to the case communication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentSet

      Communication.Builder attachmentSet(Consumer<AttachmentDetails.Builder>... attachmentSet)

      Information about the attachments to the case communication.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attachmentSet(List<AttachmentDetails>).

      Parameters:
      attachmentSet - a consumer that will call methods on AttachmentDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: