Interface Communication.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Communication.Builder,
,Communication> SdkBuilder<Communication.Builder,
,Communication> SdkPojo
- Enclosing class:
Communication
-
Method Summary
Modifier and TypeMethodDescriptionattachmentSet
(Collection<AttachmentDetails> attachmentSet) Information about the attachments to the case communication.attachmentSet
(Consumer<AttachmentDetails.Builder>... attachmentSet) Information about the attachments to the case communication.attachmentSet
(AttachmentDetails... attachmentSet) Information about the attachments to the case communication.The text of the communication between the customer and Amazon Web Services Support.The support case ID requested or returned in the call.submittedBy
(String submittedBy) The identity of the account that submitted, or responded to, the support case.timeCreated
(String timeCreated) The time the communication was created.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.
-
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
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
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
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
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
Information about the attachments to the case communication.
This is a convenience method that creates an instance of theAttachmentDetails.Builder
avoiding the need to create one manually viaAttachmentDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachmentSet(List<AttachmentDetails>)
.- Parameters:
attachmentSet
- a consumer that will call methods onAttachmentDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-