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

        if (obj instanceof ReservedNodeConfigurationOption == false)
            return false;
        ReservedNodeConfigurationOption other = (ReservedNodeConfigurationOption) obj;
        if (other.getSourceReservedNode() == null ^ this.getSourceReservedNode() == null)
            return false;
        if (other.getSourceReservedNode() != null && other.getSourceReservedNode().equals(this.getSourceReservedNode()) == false)
            return false;
        if (other.getTargetReservedNodeCount() == null ^ this.getTargetReservedNodeCount() == null)
            return false;
        if (other.getTargetReservedNodeCount() != null && other.getTargetReservedNodeCount().equals(this.getTargetReservedNodeCount()) == false)
            return false;
        if (other.getTargetReservedNodeOffering() == null ^ this.getTargetReservedNodeOffering() == null)
            return false;
        if (other.getTargetReservedNodeOffering() != null && other.getTargetReservedNodeOffering().equals(this.getTargetReservedNodeOffering()) == 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-redshift/src/main/java/com/amazonaws/services/redshift/model/ReservedNodeConfigurationOption.java