Class PutLogEventsResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<PutLogEventsResponse.Builder,PutLogEventsResponse>

@Generated("software.amazon.awssdk:codegen") public final class PutLogEventsResponse extends CloudWatchLogsResponse implements ToCopyableBuilder<PutLogEventsResponse.Builder,PutLogEventsResponse>
  • Method Details

    • nextSequenceToken

      public final String nextSequenceToken()

      The next sequence token.

      This field has been deprecated.

      The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are always accepted even if the sequence token is not valid. You can use parallel PutLogEvents actions on the same log stream and you do not need to wait for the response of a previous PutLogEvents action to obtain the nextSequenceToken value.

      Returns:
      The next sequence token.

      This field has been deprecated.

      The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are always accepted even if the sequence token is not valid. You can use parallel PutLogEvents actions on the same log stream and you do not need to wait for the response of a previous PutLogEvents action to obtain the nextSequenceToken value.

    • rejectedLogEventsInfo

      public final RejectedLogEventsInfo rejectedLogEventsInfo()

      The rejected events.

      Returns:
      The rejected events.
    • rejectedEntityInfo

      public final 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.

      Returns:
      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.

    • toBuilder

      public PutLogEventsResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<PutLogEventsResponse.Builder,PutLogEventsResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static PutLogEventsResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends PutLogEventsResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo