public static interface PutLogEventsRequest.Builder extends CloudWatchLogsRequest.Builder, CopyableBuilder<PutLogEventsRequest.Builder,PutLogEventsRequest>
buildoverrideConfigurationcopyapplyMutation, 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 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 #logEvents(List) .logEvents - a consumer that will call methods on List.Builder #logEvents(List) PutLogEventsRequest.Builder sequenceToken(String sequenceToken)
The sequence token obtained from the response of the previous PutLogEvents call. An upload in a
newly created log stream does not require a sequence token. You can also get the sequence token using
DescribeLogStreams. If you call PutLogEvents twice within a narrow time period using the
same value for sequenceToken, both calls may be successful, or one may be rejected.
sequenceToken - The sequence token obtained from the response of the previous PutLogEvents call. An
upload in a newly created log stream does not require a sequence token. You can also get the sequence
token using DescribeLogStreams. If you call PutLogEvents twice within a narrow
time period using the same value for sequenceToken, both calls may be successful, or one
may be rejected.PutLogEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.PutLogEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.