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

        if (obj instanceof ListEnvironmentsRequest == false)
            return false;
        ListEnvironmentsRequest other = (ListEnvironmentsRequest) obj;
        if (other.getCluster() == null ^ this.getCluster() == null)
            return false;
        if (other.getCluster() != null && other.getCluster().equals(this.getCluster()) == false)
            return false;
        if (other.getEnvironmentNamePrefix() == null ^ this.getEnvironmentNamePrefix() == null)
            return false;
        if (other.getEnvironmentNamePrefix() != null && other.getEnvironmentNamePrefix().equals(this.getEnvironmentNamePrefix()) == false)
            return false;
        if (other.getMaxResults() == null ^ this.getMaxResults() == null)
            return false;
        if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false)
            return false;
        if (other.getNextToken() == null ^ this.getNextToken() == null)
            return false;
        if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
            return false;
        return true;
    }
Returns a string representation of this object; useful for testing and debugging.

@return A string representation of this object.

@see java.lang.Object#toString()
frontend-service-client/src/main/java/com/amazonaws/blox/model/ListEnvironmentsRequest.java