public void marshall(ModifyReplicationInstanceRequest modifyReplicationInstanceRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getReplicationInstanceArn(), REPLICATIONINSTANCEARN_BINDING);
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getAllocatedStorage(), ALLOCATEDSTORAGE_BINDING);
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getApplyImmediately(), APPLYIMMEDIATELY_BINDING);
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getReplicationInstanceClass(), REPLICATIONINSTANCECLASS_BINDING);
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getVpcSecurityGroupIds(), VPCSECURITYGROUPIDS_BINDING);
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getPreferredMaintenanceWindow(), PREFERREDMAINTENANCEWINDOW_BINDING);
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getMultiAZ(), MULTIAZ_BINDING);
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getEngineVersion(), ENGINEVERSION_BINDING);
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getAllowMajorVersionUpgrade(), ALLOWMAJORVERSIONUPGRADE_BINDING);
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getAutoMinorVersionUpgrade(), AUTOMINORVERSIONUPGRADE_BINDING);
            protocolMarshaller.marshall(modifyReplicationInstanceRequest.getReplicationInstanceIdentifier(), REPLICATIONINSTANCEIDENTIFIER_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ModifyReplicationInstanceRequest modifyReplicationInstanceRequest , ProtocolMarshaller protocolMarshaller ) { if ( modifyReplicationInstanceRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getReplicationInstanceArn ( ) , REPLICATIONINSTANCEARN_BINDING ) ; protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getAllocatedStorage ( ) , ALLOCATEDSTORAGE_BINDING ) ; protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getApplyImmediately ( ) , APPLYIMMEDIATELY_BINDING ) ; protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getReplicationInstanceClass ( ) , REPLICATIONINSTANCECLASS_BINDING ) ; protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getVpcSecurityGroupIds ( ) , VPCSECURITYGROUPIDS_BINDING ) ; protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getPreferredMaintenanceWindow ( ) , PREFERREDMAINTENANCEWINDOW_BINDING ) ; protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getMultiAZ ( ) , MULTIAZ_BINDING ) ; protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getEngineVersion ( ) , ENGINEVERSION_BINDING ) ; protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getAllowMajorVersionUpgrade ( ) , ALLOWMAJORVERSIONUPGRADE_BINDING ) ; protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getAutoMinorVersionUpgrade ( ) , AUTOMINORVERSIONUPGRADE_BINDING ) ; protocolMarshaller . marshall ( modifyReplicationInstanceRequest . getReplicationInstanceIdentifier ( ) , REPLICATIONINSTANCEIDENTIFIER_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.