public void marshall(Image image, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(image.getRegistryId(), REGISTRYID_BINDING);
            protocolMarshaller.marshall(image.getRepositoryName(), REPOSITORYNAME_BINDING);
            protocolMarshaller.marshall(image.getImageId(), IMAGEID_BINDING);
            protocolMarshaller.marshall(image.getImageManifest(), IMAGEMANIFEST_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( Image image , ProtocolMarshaller protocolMarshaller ) { if ( image == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( image . getRegistryId ( ) , REGISTRYID_BINDING ) ; protocolMarshaller . marshall ( image . getRepositoryName ( ) , REPOSITORYNAME_BINDING ) ; protocolMarshaller . marshall ( image . getImageId ( ) , IMAGEID_BINDING ) ; protocolMarshaller . marshall ( image . getImageManifest ( ) , IMAGEMANIFEST_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.