Class PointInTimeRecoveryDescription

    • Method Detail

      • pointInTimeRecoveryStatus

        public final PointInTimeRecoveryStatus pointInTimeRecoveryStatus()

        The current state of point in time recovery:

        • ENABLED - Point in time recovery is enabled.

        • DISABLED - Point in time recovery is disabled.

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

        Returns:
        The current state of point in time recovery:

        • ENABLED - Point in time recovery is enabled.

        • DISABLED - Point in time recovery is disabled.

        See Also:
        PointInTimeRecoveryStatus
      • pointInTimeRecoveryStatusAsString

        public final String pointInTimeRecoveryStatusAsString()

        The current state of point in time recovery:

        • ENABLED - Point in time recovery is enabled.

        • DISABLED - Point in time recovery is disabled.

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

        Returns:
        The current state of point in time recovery:

        • ENABLED - Point in time recovery is enabled.

        • DISABLED - Point in time recovery is disabled.

        See Also:
        PointInTimeRecoveryStatus
      • recoveryPeriodInDays

        public final Integer recoveryPeriodInDays()

        The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional. If no value is provided, the value will default to 35.

        Returns:
        The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional. If no value is provided, the value will default to 35.
      • earliestRestorableDateTime

        public final Instant earliestRestorableDateTime()

        Specifies the earliest point in time you can restore your table to. You can restore your table to any point in time during the last 35 days.

        Returns:
        Specifies the earliest point in time you can restore your table to. You can restore your table to any point in time during the last 35 days.
      • latestRestorableDateTime

        public final Instant latestRestorableDateTime()

        LatestRestorableDateTime is typically 5 minutes before the current time.

        Returns:
        LatestRestorableDateTime is typically 5 minutes before the current time.
      • 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)