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

        if (obj instanceof NetworkResourceUtilization == false)
            return false;
        NetworkResourceUtilization other = (NetworkResourceUtilization) obj;
        if (other.getNetworkInBytesPerSecond() == null ^ this.getNetworkInBytesPerSecond() == null)
            return false;
        if (other.getNetworkInBytesPerSecond() != null && other.getNetworkInBytesPerSecond().equals(this.getNetworkInBytesPerSecond()) == false)
            return false;
        if (other.getNetworkOutBytesPerSecond() == null ^ this.getNetworkOutBytesPerSecond() == null)
            return false;
        if (other.getNetworkOutBytesPerSecond() != null && other.getNetworkOutBytesPerSecond().equals(this.getNetworkOutBytesPerSecond()) == false)
            return false;
        if (other.getNetworkPacketsInPerSecond() == null ^ this.getNetworkPacketsInPerSecond() == null)
            return false;
        if (other.getNetworkPacketsInPerSecond() != null && other.getNetworkPacketsInPerSecond().equals(this.getNetworkPacketsInPerSecond()) == false)
            return false;
        if (other.getNetworkPacketsOutPerSecond() == null ^ this.getNetworkPacketsOutPerSecond() == null)
            return false;
        if (other.getNetworkPacketsOutPerSecond() != null && other.getNetworkPacketsOutPerSecond().equals(this.getNetworkPacketsOutPerSecond()) == 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-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/NetworkResourceUtilization.java