@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDefaultGateway() != null)
            sb.append("DefaultGateway: ").append(getDefaultGateway()).append(",");
        if (getIpAddress() != null)
            sb.append("IpAddress: ").append(getIpAddress()).append(",");
        if (getIpAddressAssignment() != null)
            sb.append("IpAddressAssignment: ").append(getIpAddressAssignment()).append(",");
        if (getMacAddress() != null)
            sb.append("MacAddress: ").append(getMacAddress()).append(",");
        if (getNetmask() != null)
            sb.append("Netmask: ").append(getNetmask()).append(",");
        if (getPhysicalConnectorType() != null)
            sb.append("PhysicalConnectorType: ").append(getPhysicalConnectorType()).append(",");
        if (getPhysicalNetworkInterfaceId() != null)
            sb.append("PhysicalNetworkInterfaceId: ").append(getPhysicalNetworkInterfaceId());
        sb.append("}");
        return sb.toString();
    }
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