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

        if (obj instanceof ComputeCapacityStatus == false)
            return false;
        ComputeCapacityStatus other = (ComputeCapacityStatus) obj;
        if (other.getDesired() == null ^ this.getDesired() == null)
            return false;
        if (other.getDesired() != null && other.getDesired().equals(this.getDesired()) == false)
            return false;
        if (other.getRunning() == null ^ this.getRunning() == null)
            return false;
        if (other.getRunning() != null && other.getRunning().equals(this.getRunning()) == false)
            return false;
        if (other.getInUse() == null ^ this.getInUse() == null)
            return false;
        if (other.getInUse() != null && other.getInUse().equals(this.getInUse()) == false)
            return false;
        if (other.getAvailable() == null ^ this.getAvailable() == null)
            return false;
        if (other.getAvailable() != null && other.getAvailable().equals(this.getAvailable()) == false)
            return false;
        if (other.getDesiredUserSessions() == null ^ this.getDesiredUserSessions() == null)
            return false;
        if (other.getDesiredUserSessions() != null && other.getDesiredUserSessions().equals(this.getDesiredUserSessions()) == false)
            return false;
        if (other.getAvailableUserSessions() == null ^ this.getAvailableUserSessions() == null)
            return false;
        if (other.getAvailableUserSessions() != null && other.getAvailableUserSessions().equals(this.getAvailableUserSessions()) == false)
            return false;
        if (other.getActiveUserSessions() == null ^ this.getActiveUserSessions() == null)
            return false;
        if (other.getActiveUserSessions() != null && other.getActiveUserSessions().equals(this.getActiveUserSessions()) == false)
            return false;
        if (other.getActualUserSessions() == null ^ this.getActualUserSessions() == null)
            return false;
        if (other.getActualUserSessions() != null && other.getActualUserSessions().equals(this.getActualUserSessions()) == 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-appstream/src/main/java/com/amazonaws/services/appstream/model/ComputeCapacityStatus.java