@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof SnaplockRetentionPeriod == false)
            return false;
        SnaplockRetentionPeriod other = (SnaplockRetentionPeriod) obj;
        if (other.getDefaultRetention() == null ^ this.getDefaultRetention() == null)
            return false;
        if (other.getDefaultRetention() != null && other.getDefaultRetention().equals(this.getDefaultRetention()) == false)
            return false;
        if (other.getMinimumRetention() == null ^ this.getMinimumRetention() == null)
            return false;
        if (other.getMinimumRetention() != null && other.getMinimumRetention().equals(this.getMinimumRetention()) == false)
            return false;
        if (other.getMaximumRetention() == null ^ this.getMaximumRetention() == null)
            return false;
        if (other.getMaximumRetention() != null && other.getMaximumRetention().equals(this.getMaximumRetention()) == false)
            return false;
        return true;
    }
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.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/SnaplockRetentionPeriod.java