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

        if (obj instanceof PhysicalNetworkInterface == false)
            return false;
        PhysicalNetworkInterface other = (PhysicalNetworkInterface) obj;
        if (other.getDefaultGateway() == null ^ this.getDefaultGateway() == null)
            return false;
        if (other.getDefaultGateway() != null && other.getDefaultGateway().equals(this.getDefaultGateway()) == false)
            return false;
        if (other.getIpAddress() == null ^ this.getIpAddress() == null)
            return false;
        if (other.getIpAddress() != null && other.getIpAddress().equals(this.getIpAddress()) == false)
            return false;
        if (other.getIpAddressAssignment() == null ^ this.getIpAddressAssignment() == null)
            return false;
        if (other.getIpAddressAssignment() != null && other.getIpAddressAssignment().equals(this.getIpAddressAssignment()) == false)
            return false;
        if (other.getMacAddress() == null ^ this.getMacAddress() == null)
            return false;
        if (other.getMacAddress() != null && other.getMacAddress().equals(this.getMacAddress()) == false)
            return false;
        if (other.getNetmask() == null ^ this.getNetmask() == null)
            return false;
        if (other.getNetmask() != null && other.getNetmask().equals(this.getNetmask()) == false)
            return false;
        if (other.getPhysicalConnectorType() == null ^ this.getPhysicalConnectorType() == null)
            return false;
        if (other.getPhysicalConnectorType() != null && other.getPhysicalConnectorType().equals(this.getPhysicalConnectorType()) == false)
            return false;
        if (other.getPhysicalNetworkInterfaceId() == null ^ this.getPhysicalNetworkInterfaceId() == null)
            return false;
        if (other.getPhysicalNetworkInterfaceId() != null && other.getPhysicalNetworkInterfaceId().equals(this.getPhysicalNetworkInterfaceId()) == 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-snowdevicemanagement/src/main/java/com/amazonaws/services/snowdevicemanagement/model/PhysicalNetworkInterface.java