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 method that creates an instance of theOutputLogEvent.Builder
avoiding the need to
create one manually via OutputLogEvent.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #events(List
.
events
- a consumer that will call methods on
OutputLogEvent.Builder
#events(java.util.Collection)
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 returns 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 returns 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 is not null. If you have reached the end of the stream, it returns 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 is not null. If you have reached the end of the stream, it returns the same token you passed in.Copyright © 2022. All rights reserved.