public static interface ListHealthEventsResponse.Builder extends InternetMonitorResponse.Builder, SdkPojo, CopyableBuilder<ListHealthEventsResponse.Builder,ListHealthEventsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListHealthEventsResponse.Builder |
healthEvents(Collection<HealthEvent> healthEvents)
A list of health events.
|
ListHealthEventsResponse.Builder |
healthEvents(Consumer<HealthEvent.Builder>... healthEvents)
A list of health events.
|
ListHealthEventsResponse.Builder |
healthEvents(HealthEvent... healthEvents)
A list of health events.
|
ListHealthEventsResponse.Builder |
nextToken(String nextToken)
The token for the next set of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListHealthEventsResponse.Builder healthEvents(Collection<HealthEvent> healthEvents)
A list of health events.
healthEvents - A list of health events.ListHealthEventsResponse.Builder healthEvents(HealthEvent... healthEvents)
A list of health events.
healthEvents - A list of health events.ListHealthEventsResponse.Builder healthEvents(Consumer<HealthEvent.Builder>... healthEvents)
A list of health events.
This is a convenience method that creates an instance of theHealthEvent.Builder avoiding the need to create
one manually via HealthEvent.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #healthEvents(List.
healthEvents - a consumer that will call methods on
HealthEvent.Builder#healthEvents(java.util.Collection) ListHealthEventsResponse.Builder nextToken(String nextToken)
The token for the next set of results. You receive this token from a previous call.
nextToken - The token for the next set of results. You receive this token from a previous call.Copyright © 2023. All rights reserved.