pub fn is_invalid_retention_period_fault(&self) -> bool {
        matches!(
            &self.kind,
            ModifySnapshotCopyRetentionPeriodErrorKind::InvalidRetentionPeriodFault(_)
        )
    }
/// Returns `true` if the error kind is `ModifySnapshotCopyRetentionPeriodErrorKind::InvalidRetentionPeriodFault`.
Returns `true` if the error kind is `ModifySnapshotCopyRetentionPeriodErrorKind::InvalidRetentionPeriodFault`.
Returns ` true ` if the error kind is ` ModifySnapshotCopyRetentionPeriodErrorKind :: InvalidRetentionPeriodFault ` .
pub fn is_invalid_retention_period_fault(&self) -> bool {
        matches!(
            &self.kind,
            ModifySnapshotCopyRetentionPeriodErrorKind::InvalidRetentionPeriodFault(_)
        )
    }
pub fn is_invalid_retention_period_fault ( & self ) -> bool { matches ! ( self kind ModifySnapshotCopyRetentionPeriodErrorKind InvalidRetentionPeriodFault ( ) ) }
Returns `true` if the error kind is `ModifySnapshotCopyRetentionPeriodErrorKind::InvalidRetentionPeriodFault`.
Returns ` true ` if the error kind is ` ModifySnapshotCopyRetentionPeriodErrorKind :: InvalidRetentionPeriodFault ` .
&self
&self