Class ClusterSnapshotCopyStatus

    • Method Detail

      • destinationRegion

        public final String destinationRegion()

        The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

        Returns:
        The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
      • retentionPeriod

        public final Long retentionPeriod()

        The number of days that automated snapshots are retained in the destination region after they are copied from a source region.

        Returns:
        The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
      • manualSnapshotRetentionPeriod

        public final Integer manualSnapshotRetentionPeriod()

        The number of days that automated snapshots are retained in the destination region after they are copied from a source region. If the value is -1, the manual snapshot is retained indefinitely.

        The value must be either -1 or an integer between 1 and 3,653.

        Returns:
        The number of days that automated snapshots are retained in the destination region after they are copied from a source region. If the value is -1, the manual snapshot is retained indefinitely.

        The value must be either -1 or an integer between 1 and 3,653.

      • snapshotCopyGrantName

        public final String snapshotCopyGrantName()

        The name of the snapshot copy grant.

        Returns:
        The name of the snapshot copy grant.
      • 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)