public static interface PutLogEventsRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<PutLogEventsRequest.Builder,PutLogEventsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutLogEventsRequest.Builder |
logEvents(Collection<InputLogEvent> logEvents)
The log events.
|
PutLogEventsRequest.Builder |
logEvents(Consumer<InputLogEvent.Builder>... logEvents)
The log events.
|
PutLogEventsRequest.Builder |
logEvents(InputLogEvent... logEvents)
The log events.
|
PutLogEventsRequest.Builder |
logGroupName(String logGroupName)
The name of the log group.
|
PutLogEventsRequest.Builder |
logStreamName(String logStreamName)
The name of the log stream.
|
PutLogEventsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutLogEventsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutLogEventsRequest.Builder |
sequenceToken(String sequenceToken)
The sequence token obtained from the response of the previous
PutLogEvents call. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutLogEventsRequest.Builder logGroupName(String logGroupName)
The name of the log group.
logGroupName - The name of the log group.PutLogEventsRequest.Builder logStreamName(String logStreamName)
The name of the log stream.
logStreamName - The name of the log stream.PutLogEventsRequest.Builder logEvents(Collection<InputLogEvent> logEvents)
The log events.
logEvents - The log events.PutLogEventsRequest.Builder logEvents(InputLogEvent... logEvents)
The log events.
logEvents - The log events.PutLogEventsRequest.Builder logEvents(Consumer<InputLogEvent.Builder>... logEvents)
The log events.
This is a convenience method that creates an instance of theInputLogEvent.Builder avoiding the need to
create one manually via InputLogEvent.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #logEvents(List.
logEvents - a consumer that will call methods on
InputLogEvent.Builder#logEvents(java.util.Collection) PutLogEventsRequest.Builder sequenceToken(String sequenceToken)
The sequence token obtained from the response of the previous PutLogEvents call.
The sequenceToken parameter is now ignored in PutLogEvents actions.
PutLogEvents actions are now accepted and never return
InvalidSequenceTokenException or DataAlreadyAcceptedException even if the sequence
token is not valid.
sequenceToken - The sequence token obtained from the response of the previous PutLogEvents call.
The sequenceToken parameter is now ignored in PutLogEvents actions.
PutLogEvents actions are now accepted and never return
InvalidSequenceTokenException or DataAlreadyAcceptedException even if the
sequence token is not valid.
PutLogEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutLogEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.