Interface PutLogEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<PutLogEventsResponse.Builder,PutLogEventsResponse>,SdkBuilder<PutLogEventsResponse.Builder,PutLogEventsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutLogEventsResponse
public static interface PutLogEventsResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<PutLogEventsResponse.Builder,PutLogEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutLogEventsResponse.BuildernextSequenceToken(String nextSequenceToken)The next sequence token.default PutLogEventsResponse.BuilderrejectedEntityInfo(Consumer<RejectedEntityInfo.Builder> rejectedEntityInfo)Information about why the entity is rejected when callingPutLogEvents.PutLogEventsResponse.BuilderrejectedEntityInfo(RejectedEntityInfo rejectedEntityInfo)Information about why the entity is rejected when callingPutLogEvents.default PutLogEventsResponse.BuilderrejectedLogEventsInfo(Consumer<RejectedLogEventsInfo.Builder> rejectedLogEventsInfo)The rejected events.PutLogEventsResponse.BuilderrejectedLogEventsInfo(RejectedLogEventsInfo rejectedLogEventsInfo)The rejected events.-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextSequenceToken
PutLogEventsResponse.Builder nextSequenceToken(String nextSequenceToken)
The next sequence token.
This field has been deprecated.
The sequence token is now ignored in
PutLogEventsactions.PutLogEventsactions are always accepted even if the sequence token is not valid. You can use parallelPutLogEventsactions on the same log stream and you do not need to wait for the response of a previousPutLogEventsaction to obtain thenextSequenceTokenvalue.- Parameters:
nextSequenceToken- The next sequence token.This field has been deprecated.
The sequence token is now ignored in
PutLogEventsactions.PutLogEventsactions are always accepted even if the sequence token is not valid. You can use parallelPutLogEventsactions on the same log stream and you do not need to wait for the response of a previousPutLogEventsaction to obtain thenextSequenceTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectedLogEventsInfo
PutLogEventsResponse.Builder rejectedLogEventsInfo(RejectedLogEventsInfo rejectedLogEventsInfo)
The rejected events.
- Parameters:
rejectedLogEventsInfo- The rejected events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectedLogEventsInfo
default PutLogEventsResponse.Builder rejectedLogEventsInfo(Consumer<RejectedLogEventsInfo.Builder> rejectedLogEventsInfo)
The rejected events.
This is a convenience method that creates an instance of theRejectedLogEventsInfo.Builderavoiding the need to create one manually viaRejectedLogEventsInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torejectedLogEventsInfo(RejectedLogEventsInfo).- Parameters:
rejectedLogEventsInfo- a consumer that will call methods onRejectedLogEventsInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rejectedLogEventsInfo(RejectedLogEventsInfo)
-
rejectedEntityInfo
PutLogEventsResponse.Builder rejectedEntityInfo(RejectedEntityInfo rejectedEntityInfo)
Information about why the entity is rejected when calling
PutLogEvents. Only returned when the entity is rejected.When the entity is rejected, the events may still be accepted.
- Parameters:
rejectedEntityInfo- Information about why the entity is rejected when callingPutLogEvents. Only returned when the entity is rejected.When the entity is rejected, the events may still be accepted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectedEntityInfo
default PutLogEventsResponse.Builder rejectedEntityInfo(Consumer<RejectedEntityInfo.Builder> rejectedEntityInfo)
Information about why the entity is rejected when calling
PutLogEvents. Only returned when the entity is rejected. This is a convenience method that creates an instance of theWhen the entity is rejected, the events may still be accepted.
RejectedEntityInfo.Builderavoiding the need to create one manually viaRejectedEntityInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torejectedEntityInfo(RejectedEntityInfo).- Parameters:
rejectedEntityInfo- a consumer that will call methods onRejectedEntityInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rejectedEntityInfo(RejectedEntityInfo)
-
-