public static interface EventsBatch.Builder extends SdkPojo, CopyableBuilder<EventsBatch.Builder,EventsBatch>
Modifier and Type | Method and Description |
---|---|
default EventsBatch.Builder |
endpoint(Consumer<PublicEndpoint.Builder> endpoint)
The PublicEndpoint attached to the EndpointId from the request.
|
EventsBatch.Builder |
endpoint(PublicEndpoint endpoint)
The PublicEndpoint attached to the EndpointId from the request.
|
EventsBatch.Builder |
events(Map<String,Event> events)
An object that contains a set of events associated with the endpoint.
|
copy
applyMutation, build
EventsBatch.Builder endpoint(PublicEndpoint endpoint)
endpoint
- The PublicEndpoint attached to the EndpointId from the request.default EventsBatch.Builder endpoint(Consumer<PublicEndpoint.Builder> endpoint)
PublicEndpoint.Builder
avoiding the need to create one manually via
PublicEndpoint.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to endpoint(PublicEndpoint)
.endpoint
- a consumer that will call methods on PublicEndpoint.Builder
endpoint(PublicEndpoint)
EventsBatch.Builder events(Map<String,Event> events)
events
- An object that contains a set of events associated with the endpoint.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.