Interface EventDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventDetails.Builder,
,EventDetails> SdkBuilder<EventDetails.Builder,
,EventDetails> SdkPojo
- Enclosing class:
EventDetails
public static interface EventDetails.Builder
extends SdkPojo, CopyableBuilder<EventDetails.Builder,EventDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventDetails.Builder
bounce
(Consumer<Bounce.Builder> bounce) Information about aBounce
event.Information about aBounce
event.default EventDetails.Builder
complaint
(Consumer<Complaint.Builder> complaint) Information about aComplaint
event.Information about aComplaint
event.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
-
bounce
Information about a
Bounce
event.- Parameters:
bounce
- Information about aBounce
event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bounce
Information about a
This is a convenience method that creates an instance of theBounce
event.Bounce.Builder
avoiding the need to create one manually viaBounce.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobounce(Bounce)
.- Parameters:
bounce
- a consumer that will call methods onBounce.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
complaint
Information about a
Complaint
event.- Parameters:
complaint
- Information about aComplaint
event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complaint
Information about a
This is a convenience method that creates an instance of theComplaint
event.Complaint.Builder
avoiding the need to create one manually viaComplaint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomplaint(Complaint)
.- Parameters:
complaint
- a consumer that will call methods onComplaint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-