public void marshall(RelationalDatabaseSnapshot relationalDatabaseSnapshot, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getName(), NAME_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getArn(), ARN_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getSupportCode(), SUPPORTCODE_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getCreatedAt(), CREATEDAT_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getLocation(), LOCATION_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getResourceType(), RESOURCETYPE_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getTags(), TAGS_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getEngine(), ENGINE_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getEngineVersion(), ENGINEVERSION_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getSizeInGb(), SIZEINGB_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getState(), STATE_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getFromRelationalDatabaseName(), FROMRELATIONALDATABASENAME_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getFromRelationalDatabaseArn(), FROMRELATIONALDATABASEARN_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getFromRelationalDatabaseBundleId(), FROMRELATIONALDATABASEBUNDLEID_BINDING);
            protocolMarshaller.marshall(relationalDatabaseSnapshot.getFromRelationalDatabaseBlueprintId(), FROMRELATIONALDATABASEBLUEPRINTID_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( RelationalDatabaseSnapshot relationalDatabaseSnapshot , ProtocolMarshaller protocolMarshaller ) { if ( relationalDatabaseSnapshot == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( relationalDatabaseSnapshot . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getArn ( ) , ARN_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getSupportCode ( ) , SUPPORTCODE_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getCreatedAt ( ) , CREATEDAT_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getLocation ( ) , LOCATION_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getResourceType ( ) , RESOURCETYPE_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getTags ( ) , TAGS_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getEngine ( ) , ENGINE_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getEngineVersion ( ) , ENGINEVERSION_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getSizeInGb ( ) , SIZEINGB_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getState ( ) , STATE_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getFromRelationalDatabaseName ( ) , FROMRELATIONALDATABASENAME_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getFromRelationalDatabaseArn ( ) , FROMRELATIONALDATABASEARN_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getFromRelationalDatabaseBundleId ( ) , FROMRELATIONALDATABASEBUNDLEID_BINDING ) ; protocolMarshaller . marshall ( relationalDatabaseSnapshot . getFromRelationalDatabaseBlueprintId ( ) , FROMRELATIONALDATABASEBLUEPRINTID_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.