public interface ProtocolMarshaller
Modifier and Type | Method and Description |
---|---|
<T> void |
marshall(T val,
MarshallingInfo<T> marshallingInfo)
Marshalls the value into the appropriate location based on the
MarshallingInfo metadata. |
<T> void marshall(T val, MarshallingInfo<T> marshallingInfo) throws SdkClientException
MarshallingInfo
metadata.val
- Value to marshall. May be null if the location allows it (for example, members bound to the path
must never be null or empty).marshallingInfo
- Metadata about how and where to marshall the data. Must not be null.SdkClientException
- If invalid parameters or combination of parameters are provided (I.E. null value
provided for member bound to the path).Copyright © 2020. All rights reserved.