public void marshall(TimeToLiveDescription timeToLiveDescription, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(timeToLiveDescription.getTimeToLiveStatus(), TIMETOLIVESTATUS_BINDING);
            protocolMarshaller.marshall(timeToLiveDescription.getAttributeName(), ATTRIBUTENAME_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( TimeToLiveDescription timeToLiveDescription , ProtocolMarshaller protocolMarshaller ) { if ( timeToLiveDescription == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( timeToLiveDescription . getTimeToLiveStatus ( ) , TIMETOLIVESTATUS_BINDING ) ; protocolMarshaller . marshall ( timeToLiveDescription . getAttributeName ( ) , ATTRIBUTENAME_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.