public void marshall(DeviceiSCSIAttributes deviceiSCSIAttributes, ProtocolMarshaller protocolMarshaller) {

        if (deviceiSCSIAttributes == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(deviceiSCSIAttributes.getTargetARN(), TARGETARN_BINDING);
            protocolMarshaller.marshall(deviceiSCSIAttributes.getNetworkInterfaceId(), NETWORKINTERFACEID_BINDING);
            protocolMarshaller.marshall(deviceiSCSIAttributes.getNetworkInterfacePort(), NETWORKINTERFACEPORT_BINDING);
            protocolMarshaller.marshall(deviceiSCSIAttributes.getChapEnabled(), CHAPENABLED_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( DeviceiSCSIAttributes deviceiSCSIAttributes , ProtocolMarshaller protocolMarshaller ) { if ( deviceiSCSIAttributes == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( deviceiSCSIAttributes . getTargetARN ( ) , TARGETARN_BINDING ) ; protocolMarshaller . marshall ( deviceiSCSIAttributes . getNetworkInterfaceId ( ) , NETWORKINTERFACEID_BINDING ) ; protocolMarshaller . marshall ( deviceiSCSIAttributes . getNetworkInterfacePort ( ) , NETWORKINTERFACEPORT_BINDING ) ; protocolMarshaller . marshall ( deviceiSCSIAttributes . getChapEnabled ( ) , CHAPENABLED_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.