public void marshall(GlobalSecondaryIndexDescription globalSecondaryIndexDescription, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(globalSecondaryIndexDescription.getIndexName(), INDEXNAME_BINDING);
            protocolMarshaller.marshall(globalSecondaryIndexDescription.getKeySchema(), KEYSCHEMA_BINDING);
            protocolMarshaller.marshall(globalSecondaryIndexDescription.getProjection(), PROJECTION_BINDING);
            protocolMarshaller.marshall(globalSecondaryIndexDescription.getIndexStatus(), INDEXSTATUS_BINDING);
            protocolMarshaller.marshall(globalSecondaryIndexDescription.getBackfilling(), BACKFILLING_BINDING);
            protocolMarshaller.marshall(globalSecondaryIndexDescription.getProvisionedThroughput(), PROVISIONEDTHROUGHPUT_BINDING);
            protocolMarshaller.marshall(globalSecondaryIndexDescription.getIndexSizeBytes(), INDEXSIZEBYTES_BINDING);
            protocolMarshaller.marshall(globalSecondaryIndexDescription.getItemCount(), ITEMCOUNT_BINDING);
            protocolMarshaller.marshall(globalSecondaryIndexDescription.getIndexArn(), INDEXARN_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( GlobalSecondaryIndexDescription globalSecondaryIndexDescription , ProtocolMarshaller protocolMarshaller ) { if ( globalSecondaryIndexDescription == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( globalSecondaryIndexDescription . getIndexName ( ) , INDEXNAME_BINDING ) ; protocolMarshaller . marshall ( globalSecondaryIndexDescription . getKeySchema ( ) , KEYSCHEMA_BINDING ) ; protocolMarshaller . marshall ( globalSecondaryIndexDescription . getProjection ( ) , PROJECTION_BINDING ) ; protocolMarshaller . marshall ( globalSecondaryIndexDescription . getIndexStatus ( ) , INDEXSTATUS_BINDING ) ; protocolMarshaller . marshall ( globalSecondaryIndexDescription . getBackfilling ( ) , BACKFILLING_BINDING ) ; protocolMarshaller . marshall ( globalSecondaryIndexDescription . getProvisionedThroughput ( ) , PROVISIONEDTHROUGHPUT_BINDING ) ; protocolMarshaller . marshall ( globalSecondaryIndexDescription . getIndexSizeBytes ( ) , INDEXSIZEBYTES_BINDING ) ; protocolMarshaller . marshall ( globalSecondaryIndexDescription . getItemCount ( ) , ITEMCOUNT_BINDING ) ; protocolMarshaller . marshall ( globalSecondaryIndexDescription . getIndexArn ( ) , INDEXARN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.