public void marshall(CreateGlobalSecondaryIndexAction createGlobalSecondaryIndexAction, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createGlobalSecondaryIndexAction.getIndexName(), INDEXNAME_BINDING);
            protocolMarshaller.marshall(createGlobalSecondaryIndexAction.getKeySchema(), KEYSCHEMA_BINDING);
            protocolMarshaller.marshall(createGlobalSecondaryIndexAction.getProjection(), PROJECTION_BINDING);
            protocolMarshaller.marshall(createGlobalSecondaryIndexAction.getProvisionedThroughput(), PROVISIONEDTHROUGHPUT_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateGlobalSecondaryIndexAction createGlobalSecondaryIndexAction , ProtocolMarshaller protocolMarshaller ) { if ( createGlobalSecondaryIndexAction == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createGlobalSecondaryIndexAction . getIndexName ( ) , INDEXNAME_BINDING ) ; protocolMarshaller . marshall ( createGlobalSecondaryIndexAction . getKeySchema ( ) , KEYSCHEMA_BINDING ) ; protocolMarshaller . marshall ( createGlobalSecondaryIndexAction . getProjection ( ) , PROJECTION_BINDING ) ; protocolMarshaller . marshall ( createGlobalSecondaryIndexAction . getProvisionedThroughput ( ) , PROVISIONEDTHROUGHPUT_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.