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

        if (obj instanceof CreateSnaplockConfiguration == false)
            return false;
        CreateSnaplockConfiguration other = (CreateSnaplockConfiguration) obj;
        if (other.getAuditLogVolume() == null ^ this.getAuditLogVolume() == null)
            return false;
        if (other.getAuditLogVolume() != null && other.getAuditLogVolume().equals(this.getAuditLogVolume()) == false)
            return false;
        if (other.getAutocommitPeriod() == null ^ this.getAutocommitPeriod() == null)
            return false;
        if (other.getAutocommitPeriod() != null && other.getAutocommitPeriod().equals(this.getAutocommitPeriod()) == false)
            return false;
        if (other.getPrivilegedDelete() == null ^ this.getPrivilegedDelete() == null)
            return false;
        if (other.getPrivilegedDelete() != null && other.getPrivilegedDelete().equals(this.getPrivilegedDelete()) == false)
            return false;
        if (other.getRetentionPeriod() == null ^ this.getRetentionPeriod() == null)
            return false;
        if (other.getRetentionPeriod() != null && other.getRetentionPeriod().equals(this.getRetentionPeriod()) == false)
            return false;
        if (other.getSnaplockType() == null ^ this.getSnaplockType() == null)
            return false;
        if (other.getSnaplockType() != null && other.getSnaplockType().equals(this.getSnaplockType()) == false)
            return false;
        if (other.getVolumeAppendModeEnabled() == null ^ this.getVolumeAppendModeEnabled() == null)
            return false;
        if (other.getVolumeAppendModeEnabled() != null && other.getVolumeAppendModeEnabled().equals(this.getVolumeAppendModeEnabled()) == 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/CreateSnaplockConfiguration.java