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

        if (obj instanceof NodePropertiesSummary == false)
            return false;
        NodePropertiesSummary other = (NodePropertiesSummary) obj;
        if (other.getIsMainNode() == null ^ this.getIsMainNode() == null)
            return false;
        if (other.getIsMainNode() != null && other.getIsMainNode().equals(this.getIsMainNode()) == false)
            return false;
        if (other.getNumNodes() == null ^ this.getNumNodes() == null)
            return false;
        if (other.getNumNodes() != null && other.getNumNodes().equals(this.getNumNodes()) == false)
            return false;
        if (other.getNodeIndex() == null ^ this.getNodeIndex() == null)
            return false;
        if (other.getNodeIndex() != null && other.getNodeIndex().equals(this.getNodeIndex()) == 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-batch/src/main/java/com/amazonaws/services/batch/model/NodePropertiesSummary.java