Interface PutLogEventsRequest.Builder

    • Method Detail

      • logGroupName

        PutLogEventsRequest.Builder logGroupName​(String 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

        PutLogEventsRequest.Builder logStreamName​(String 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

        PutLogEventsRequest.Builder logEvents​(InputLogEvent... logEvents)

        The log events.

        Parameters:
        logEvents - The log events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sequenceToken

        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.

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

        Returns:
        Returns a reference to this object so that method calls can be chained together.