public void marshall(ActivateGatewayRequest activateGatewayRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(activateGatewayRequest.getActivationKey(), ACTIVATIONKEY_BINDING);
            protocolMarshaller.marshall(activateGatewayRequest.getGatewayName(), GATEWAYNAME_BINDING);
            protocolMarshaller.marshall(activateGatewayRequest.getGatewayTimezone(), GATEWAYTIMEZONE_BINDING);
            protocolMarshaller.marshall(activateGatewayRequest.getGatewayRegion(), GATEWAYREGION_BINDING);
            protocolMarshaller.marshall(activateGatewayRequest.getGatewayType(), GATEWAYTYPE_BINDING);
            protocolMarshaller.marshall(activateGatewayRequest.getTapeDriveType(), TAPEDRIVETYPE_BINDING);
            protocolMarshaller.marshall(activateGatewayRequest.getMediumChangerType(), MEDIUMCHANGERTYPE_BINDING);
            protocolMarshaller.marshall(activateGatewayRequest.getTags(), TAGS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ActivateGatewayRequest activateGatewayRequest , ProtocolMarshaller protocolMarshaller ) { if ( activateGatewayRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( activateGatewayRequest . getActivationKey ( ) , ACTIVATIONKEY_BINDING ) ; protocolMarshaller . marshall ( activateGatewayRequest . getGatewayName ( ) , GATEWAYNAME_BINDING ) ; protocolMarshaller . marshall ( activateGatewayRequest . getGatewayTimezone ( ) , GATEWAYTIMEZONE_BINDING ) ; protocolMarshaller . marshall ( activateGatewayRequest . getGatewayRegion ( ) , GATEWAYREGION_BINDING ) ; protocolMarshaller . marshall ( activateGatewayRequest . getGatewayType ( ) , GATEWAYTYPE_BINDING ) ; protocolMarshaller . marshall ( activateGatewayRequest . getTapeDriveType ( ) , TAPEDRIVETYPE_BINDING ) ; protocolMarshaller . marshall ( activateGatewayRequest . getMediumChangerType ( ) , MEDIUMCHANGERTYPE_BINDING ) ; protocolMarshaller . marshall ( activateGatewayRequest . getTags ( ) , TAGS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.