Interface Communication.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Communication.Builder,,Communication> SdkBuilder<Communication.Builder,,Communication> SdkPojo
- Enclosing class:
Communication
-
Method Summary
Modifier and TypeMethodDescriptionattachments(Collection<AttachmentDetails> attachments) Information about all attachments on the case communication.attachments(Consumer<AttachmentDetails.Builder>... attachments) Information about all attachments on the case communication.attachments(AttachmentDetails... attachments) Information about all attachments on the case communication.attachmentSet(Collection<AttachmentDetails> attachmentSet) Information about the attachments to the case communication that are 5 MB or smaller.attachmentSet(Consumer<AttachmentDetails.Builder>... attachmentSet) Information about the attachments to the case communication that are 5 MB or smaller.attachmentSet(AttachmentDetails... attachmentSet) Information about the attachments to the case communication that are 5 MB or smaller.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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-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.
-
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.
-
attachments
Information about all attachments on the case communication. This includes attachments added through
AddAttachmentsToSetand attachments uploaded throughGetAttachmentUploadLinks.Use this field to enumerate every attachment on the communication. To download an attachment listed in this field, use GetAttachmentDownloadLink.
GetAttachmentDownloadLinkreturns a presigned URL that works for attachments of any size.- Parameters:
attachments- Information about all attachments on the case communication. This includes attachments added throughAddAttachmentsToSetand attachments uploaded throughGetAttachmentUploadLinks.Use this field to enumerate every attachment on the communication. To download an attachment listed in this field, use GetAttachmentDownloadLink.
GetAttachmentDownloadLinkreturns a presigned URL that works for attachments of any size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
Information about all attachments on the case communication. This includes attachments added through
AddAttachmentsToSetand attachments uploaded throughGetAttachmentUploadLinks.Use this field to enumerate every attachment on the communication. To download an attachment listed in this field, use GetAttachmentDownloadLink.
GetAttachmentDownloadLinkreturns a presigned URL that works for attachments of any size.- Parameters:
attachments- Information about all attachments on the case communication. This includes attachments added throughAddAttachmentsToSetand attachments uploaded throughGetAttachmentUploadLinks.Use this field to enumerate every attachment on the communication. To download an attachment listed in this field, use GetAttachmentDownloadLink.
GetAttachmentDownloadLinkreturns a presigned URL that works for attachments of any size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
Information about all attachments on the case communication. This includes attachments added through
AddAttachmentsToSetand attachments uploaded throughGetAttachmentUploadLinks.Use this field to enumerate every attachment on the communication. To download an attachment listed in this field, use GetAttachmentDownloadLink.
This is a convenience method that creates an instance of theGetAttachmentDownloadLinkreturns a presigned URL that works for attachments of any size.AttachmentDetails.Builderavoiding the need to create one manually viaAttachmentDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachments(List<AttachmentDetails>).- Parameters:
attachments- 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:
-
attachmentSet
Information about the attachments to the case communication that are 5 MB or smaller. This field doesn't include attachments larger than 5 MB. To enumerate every attachment on the communication, including attachments larger than 5 MB, use the
attachmentsfield instead.- Parameters:
attachmentSet- Information about the attachments to the case communication that are 5 MB or smaller. This field doesn't include attachments larger than 5 MB. To enumerate every attachment on the communication, including attachments larger than 5 MB, use theattachmentsfield instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentSet
Information about the attachments to the case communication that are 5 MB or smaller. This field doesn't include attachments larger than 5 MB. To enumerate every attachment on the communication, including attachments larger than 5 MB, use the
attachmentsfield instead.- Parameters:
attachmentSet- Information about the attachments to the case communication that are 5 MB or smaller. This field doesn't include attachments larger than 5 MB. To enumerate every attachment on the communication, including attachments larger than 5 MB, use theattachmentsfield instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentSet
Information about the attachments to the case communication that are 5 MB or smaller. This field doesn't include attachments larger than 5 MB. To enumerate every attachment on the communication, including attachments larger than 5 MB, use the
This is a convenience method that creates an instance of theattachmentsfield instead.AttachmentDetails.Builderavoiding the need to create one manually viaAttachmentDetails.builder().When the
Consumercompletes,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:
-