Interface AttachmentInputEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttachmentInputEvent.Builder,
,AttachmentInputEvent> SdkBuilder<AttachmentInputEvent.Builder,
,AttachmentInputEvent> SdkPojo
- All Known Subinterfaces:
DefaultAttachmentEvent.Builder
- Enclosing class:
AttachmentInputEvent
public static interface AttachmentInputEvent.Builder
extends SdkPojo, CopyableBuilder<AttachmentInputEvent.Builder,AttachmentInputEvent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AttachmentInputEvent.Builder
attachment
(Consumer<AttachmentInput.Builder> attachment) Sets the value of the Attachment property for this object.attachment
(AttachmentInput attachment) Sets the value of the Attachment property for this object.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
-
attachment
Sets the value of the Attachment property for this object.- Parameters:
attachment
- The new value for the Attachment property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
Sets the value of the Attachment property for this object. This is a convenience method that creates an instance of theAttachmentInput.Builder
avoiding the need to create one manually viaAttachmentInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachment(AttachmentInput)
.- Parameters:
attachment
- a consumer that will call methods onAttachmentInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-