public static interface GetLogEventsResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<GetLogEventsResponse.Builder,GetLogEventsResponse>
Modifier and Type | Method and Description |
---|---|
GetLogEventsResponse.Builder |
events(Collection<OutputLogEvent> events)
The events.
|
GetLogEventsResponse.Builder |
events(Consumer<OutputLogEvent.Builder>... events)
The events.
|
GetLogEventsResponse.Builder |
events(OutputLogEvent... events)
The events.
|
GetLogEventsResponse.Builder |
nextBackwardToken(String nextBackwardToken)
The token for the next set of items in the backward direction.
|
GetLogEventsResponse.Builder |
nextForwardToken(String nextForwardToken)
The token for the next set of items in the forward direction.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetLogEventsResponse.Builder events(Collection<OutputLogEvent> events)
The events.
events
- The events.GetLogEventsResponse.Builder events(OutputLogEvent... events)
The events.
events
- The events.GetLogEventsResponse.Builder events(Consumer<OutputLogEvent.Builder>... events)
The events.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #events(List)
.events
- a consumer that will call methods on List.Builder
#events(List)
GetLogEventsResponse.Builder nextForwardToken(String nextForwardToken)
The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it will return the same token you passed in.
nextForwardToken
- The token for the next set of items in the forward direction. The token expires after 24 hours. If you
have reached the end of the stream, it will return the same token you passed in.GetLogEventsResponse.Builder nextBackwardToken(String nextBackwardToken)
The token for the next set of items in the backward direction. The token expires after 24 hours. This token will never be null. If you have reached the end of the stream, it will return the same token you passed in.
nextBackwardToken
- The token for the next set of items in the backward direction. The token expires after 24 hours. This
token will never be null. If you have reached the end of the stream, it will return the same token you
passed in.Copyright © 2019. All rights reserved.