Class GetRelationalDatabaseLogEventsRequest

    • Method Detail

      • relationalDatabaseName

        public final String relationalDatabaseName()

        The name of your database for which to get log events.

        Returns:
        The name of your database for which to get log events.
      • logStreamName

        public final String logStreamName()

        The name of the log stream.

        Use the get relational database log streams operation to get a list of available log streams.

        Returns:
        The name of the log stream.

        Use the get relational database log streams operation to get a list of available log streams.

      • startTime

        public final Instant startTime()

        The start of the time interval from which to get log events.

        Constraints:

        • Specified in Coordinated Universal Time (UTC).

        • Specified in the Unix time format.

          For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the start time.

        Returns:
        The start of the time interval from which to get log events.

        Constraints:

        • Specified in Coordinated Universal Time (UTC).

        • Specified in the Unix time format.

          For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the start time.

      • endTime

        public final Instant endTime()

        The end of the time interval from which to get log events.

        Constraints:

        • Specified in Coordinated Universal Time (UTC).

        • Specified in the Unix time format.

          For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the end time.

        Returns:
        The end of the time interval from which to get log events.

        Constraints:

        • Specified in Coordinated Universal Time (UTC).

        • Specified in the Unix time format.

          For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the end time.

      • startFromHead

        public final Boolean startFromHead()

        Parameter to specify if the log should start from head or tail. If true is specified, the log event starts from the head of the log. If false is specified, the log event starts from the tail of the log.

        For PostgreSQL, the default value of false is the only option available.

        Returns:
        Parameter to specify if the log should start from head or tail. If true is specified, the log event starts from the head of the log. If false is specified, the log event starts from the tail of the log.

        For PostgreSQL, the default value of false is the only option available.

      • pageToken

        public final String pageToken()

        The token to advance to the next or previous page of results from your request.

        To get a page token, perform an initial GetRelationalDatabaseLogEvents request. If your results are paginated, the response will return a next forward token and/or next backward token that you can specify as the page token in a subsequent request.

        Returns:
        The token to advance to the next or previous page of results from your request.

        To get a page token, perform an initial GetRelationalDatabaseLogEvents request. If your results are paginated, the response will return a next forward token and/or next backward token that you can specify as the page token in a subsequent request.

      • 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