Interface PutLogEventsRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<PutLogEventsRequest.Builder,,PutLogEventsRequest> SdkBuilder<PutLogEventsRequest.Builder,,PutLogEventsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 PutLogEventsRequest
- 
Method Summary
Modifier and TypeMethodDescriptionlogEvents(Collection<InputLogEvent> logEvents) The log events.logEvents(Consumer<InputLogEvent.Builder>... logEvents) The log events.logEvents(InputLogEvent... logEvents) The log events.logGroupName(String logGroupName) The name of the log group.logStreamName(String logStreamName) The name of the log stream.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sequenceToken(String sequenceToken) The sequence token obtained from the response of the previousPutLogEventscall.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
logGroupName
The name of the log group.
- Parameters:
 logGroupName- The name of the log group.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
logStreamName
The name of the log stream.
- Parameters:
 logStreamName- The name of the log stream.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
logEvents
The log events.
- Parameters:
 logEvents- The log events.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
logEvents
The log events.
- Parameters:
 logEvents- The log events.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
logEvents
The log events.
This is a convenience method that creates an instance of theInputLogEvent.Builderavoiding the need to create one manually viaInputLogEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologEvents(List<InputLogEvent>).- Parameters:
 logEvents- a consumer that will call methods onInputLogEvent.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
sequenceToken
The sequence token obtained from the response of the previous
PutLogEventscall.The
sequenceTokenparameter is now ignored inPutLogEventsactions.PutLogEventsactions are now accepted and never returnInvalidSequenceTokenExceptionorDataAlreadyAcceptedExceptioneven if the sequence token is not valid.- Parameters:
 sequenceToken- The sequence token obtained from the response of the previousPutLogEventscall.The
sequenceTokenparameter is now ignored inPutLogEventsactions.PutLogEventsactions are now accepted and never returnInvalidSequenceTokenExceptionorDataAlreadyAcceptedExceptioneven if the sequence token is not valid.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
overrideConfiguration
PutLogEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 overrideConfiguration- The override configuration.- Returns:
 - This object for method chaining.
 
 - 
overrideConfiguration
PutLogEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -