public void marshall(ProvisionedThroughputDescription provisionedThroughputDescription, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(provisionedThroughputDescription.getLastIncreaseDateTime(), LASTINCREASEDATETIME_BINDING);
            protocolMarshaller.marshall(provisionedThroughputDescription.getLastDecreaseDateTime(), LASTDECREASEDATETIME_BINDING);
            protocolMarshaller.marshall(provisionedThroughputDescription.getNumberOfDecreasesToday(), NUMBEROFDECREASESTODAY_BINDING);
            protocolMarshaller.marshall(provisionedThroughputDescription.getReadCapacityUnits(), READCAPACITYUNITS_BINDING);
            protocolMarshaller.marshall(provisionedThroughputDescription.getWriteCapacityUnits(), WRITECAPACITYUNITS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ProvisionedThroughputDescription provisionedThroughputDescription , ProtocolMarshaller protocolMarshaller ) { if ( provisionedThroughputDescription == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( provisionedThroughputDescription . getLastIncreaseDateTime ( ) , LASTINCREASEDATETIME_BINDING ) ; protocolMarshaller . marshall ( provisionedThroughputDescription . getLastDecreaseDateTime ( ) , LASTDECREASEDATETIME_BINDING ) ; protocolMarshaller . marshall ( provisionedThroughputDescription . getNumberOfDecreasesToday ( ) , NUMBEROFDECREASESTODAY_BINDING ) ; protocolMarshaller . marshall ( provisionedThroughputDescription . getReadCapacityUnits ( ) , READCAPACITYUNITS_BINDING ) ; protocolMarshaller . marshall ( provisionedThroughputDescription . getWriteCapacityUnits ( ) , WRITECAPACITYUNITS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.