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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Communication.BuilderattachmentSet(Collection<AttachmentDetails> attachmentSet)Information about the attachments to the case communication.Communication.BuilderattachmentSet(Consumer<AttachmentDetails.Builder>... attachmentSet)Information about the attachments to the case communication.Communication.BuilderattachmentSet(AttachmentDetails... attachmentSet)Information about the attachments to the case communication.Communication.Builderbody(String body)The text of the communication between the customer and Amazon Web Services Support.Communication.BuildercaseId(String caseId)The support case ID requested or returned in the call.Communication.BuildersubmittedBy(String submittedBy)The identity of the account that submitted, or responded to, the support case.Communication.BuildertimeCreated(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 Detail
-
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
Communication.Builder body(String 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 theAttachmentDetails.Builderavoiding the need to create one manually viaAttachmentDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attachmentSet(List.) - 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:
#attachmentSet(java.util.Collection)
-
-