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

        if (obj instanceof RecoveryPointCreator == false)
            return false;
        RecoveryPointCreator other = (RecoveryPointCreator) obj;
        if (other.getBackupPlanId() == null ^ this.getBackupPlanId() == null)
            return false;
        if (other.getBackupPlanId() != null && other.getBackupPlanId().equals(this.getBackupPlanId()) == false)
            return false;
        if (other.getBackupPlanArn() == null ^ this.getBackupPlanArn() == null)
            return false;
        if (other.getBackupPlanArn() != null && other.getBackupPlanArn().equals(this.getBackupPlanArn()) == false)
            return false;
        if (other.getBackupPlanVersion() == null ^ this.getBackupPlanVersion() == null)
            return false;
        if (other.getBackupPlanVersion() != null && other.getBackupPlanVersion().equals(this.getBackupPlanVersion()) == false)
            return false;
        if (other.getBackupRuleId() == null ^ this.getBackupRuleId() == null)
            return false;
        if (other.getBackupRuleId() != null && other.getBackupRuleId().equals(this.getBackupRuleId()) == 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-backup/src/main/java/com/amazonaws/services/backup/model/RecoveryPointCreator.java