Interface EventsBatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EventsBatch.Builder,EventsBatch>,SdkBuilder<EventsBatch.Builder,EventsBatch>,SdkPojo
- Enclosing class:
- EventsBatch
public static interface EventsBatch.Builder extends SdkPojo, CopyableBuilder<EventsBatch.Builder,EventsBatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EventsBatch.Builderendpoint(Consumer<PublicEndpoint.Builder> endpoint)A set of properties and attributes that are associated with the endpoint.EventsBatch.Builderendpoint(PublicEndpoint endpoint)A set of properties and attributes that are associated with the endpoint.EventsBatch.Builderevents(Map<String,Event> events)A set of properties that are associated with the 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 Detail
-
endpoint
EventsBatch.Builder endpoint(PublicEndpoint endpoint)
A set of properties and attributes that are associated with the endpoint.
- Parameters:
endpoint- A set of properties and attributes that are associated with the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
default EventsBatch.Builder endpoint(Consumer<PublicEndpoint.Builder> endpoint)
A set of properties and attributes that are associated with the endpoint.
This is a convenience method that creates an instance of thePublicEndpoint.Builderavoiding the need to create one manually viaPublicEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoint(PublicEndpoint).- Parameters:
endpoint- a consumer that will call methods onPublicEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
endpoint(PublicEndpoint)
-
events
EventsBatch.Builder events(Map<String,Event> events)
A set of properties that are associated with the event.
- Parameters:
events- A set of properties that are associated with the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-