Class AwsRedshiftClusterClusterSnapshotCopyStatus

    • 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.
      • manualSnapshotRetentionPeriod

        public final Integer manualSnapshotRetentionPeriod()

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

        If the value is -1, then the manual snapshot is retained indefinitely.

        Valid values: Either -1 or an integer between 1 and 3,653

        Returns:
        The number of days that manual snapshots are retained in the destination Region after they are copied from a source Region.

        If the value is -1, then the manual snapshot is retained indefinitely.

        Valid values: Either -1 or an integer between 1 and 3,653

      • retentionPeriod

        public final Integer retentionPeriod()

        The number of days to retain automated snapshots in the destination Region after they are copied from a source Region.

        Returns:
        The number of days to retain automated snapshots in the destination Region after they are copied from a source Region.
      • 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)