Interface AttachmentInputEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AttachmentInputEvent.Builder,AttachmentInputEvent>,SdkBuilder<AttachmentInputEvent.Builder,AttachmentInputEvent>,SdkPojo
- All Known Subinterfaces:
DefaultAttachmentEvent.Builder
- All Known Implementing Classes:
AttachmentInputEvent.BuilderImpl
- Enclosing class:
- AttachmentInputEvent
public static interface AttachmentInputEvent.Builder extends SdkPojo, CopyableBuilder<AttachmentInputEvent.Builder,AttachmentInputEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AttachmentInputEvent.Builderattachment(Consumer<AttachmentInput.Builder> attachment)Sets the value of the Attachment property for this object.AttachmentInputEvent.Builderattachment(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 Detail
-
attachment
AttachmentInputEvent.Builder attachment(AttachmentInput 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
default AttachmentInputEvent.Builder attachment(Consumer<AttachmentInput.Builder> attachment)
Sets the value of the Attachment property for this object. This is a convenience method that creates an instance of theAttachmentInput.Builderavoiding the need to create one manually viaAttachmentInput.builder().When the
Consumercompletes,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:
attachment(AttachmentInput)
-
-