Class JournalKinesisStreamDescription

    • Method Detail

      • ledgerName

        public final String ledgerName()

        The name of the ledger.

        Returns:
        The name of the ledger.
      • creationTime

        public final Instant creationTime()

        The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

        Returns:
        The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
      • inclusiveStartTime

        public final Instant inclusiveStartTime()

        The inclusive start date and time from which to start streaming journal data.

        Returns:
        The inclusive start date and time from which to start streaming journal data.
      • exclusiveEndTime

        public final Instant exclusiveEndTime()

        The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.

        Returns:
        The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.
      • roleArn

        public final String roleArn()

        The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.

        Returns:
        The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
      • streamId

        public final String streamId()

        The UUID (represented in Base62-encoded text) of the QLDB journal stream.

        Returns:
        The UUID (represented in Base62-encoded text) of the QLDB journal stream.
      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of the QLDB journal stream.

        Returns:
        The Amazon Resource Name (ARN) of the QLDB journal stream.
      • status

        public final StreamStatus status()

        The current state of the QLDB journal stream.

        If the service returns an enum value that is not available in the current SDK version, status will return StreamStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The current state of the QLDB journal stream.
        See Also:
        StreamStatus
      • statusAsString

        public final String statusAsString()

        The current state of the QLDB journal stream.

        If the service returns an enum value that is not available in the current SDK version, status will return StreamStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The current state of the QLDB journal stream.
        See Also:
        StreamStatus
      • kinesisConfiguration

        public final KinesisConfiguration kinesisConfiguration()

        The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.

        Returns:
        The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
      • errorCause

        public final ErrorCause errorCause()

        The error message that describes the reason that a stream has a status of IMPAIRED or FAILED. This is not applicable to streams that have other status values.

        If the service returns an enum value that is not available in the current SDK version, errorCause will return ErrorCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from errorCauseAsString().

        Returns:
        The error message that describes the reason that a stream has a status of IMPAIRED or FAILED. This is not applicable to streams that have other status values.
        See Also:
        ErrorCause
      • errorCauseAsString

        public final String errorCauseAsString()

        The error message that describes the reason that a stream has a status of IMPAIRED or FAILED. This is not applicable to streams that have other status values.

        If the service returns an enum value that is not available in the current SDK version, errorCause will return ErrorCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from errorCauseAsString().

        Returns:
        The error message that describes the reason that a stream has a status of IMPAIRED or FAILED. This is not applicable to streams that have other status values.
        See Also:
        ErrorCause
      • streamName

        public final String streamName()

        The user-defined name of the QLDB journal stream.

        Returns:
        The user-defined name of the QLDB journal stream.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)