code: public void marshall(Flow flow, ProtocolMarshaller protocolMarshaller) {
  
          if (flow == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(flow.getAvailabilityZone(), AVAILABILITYZONE_BINDING);
              protocolMarshaller.marshall(flow.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(flow.getEgressIp(), EGRESSIP_BINDING);
              protocolMarshaller.marshall(flow.getEntitlements(), ENTITLEMENTS_BINDING);
              protocolMarshaller.marshall(flow.getFlowArn(), FLOWARN_BINDING);
              protocolMarshaller.marshall(flow.getName(), NAME_BINDING);
              protocolMarshaller.marshall(flow.getOutputs(), OUTPUTS_BINDING);
              protocolMarshaller.marshall(flow.getSource(), SOURCE_BINDING);
              protocolMarshaller.marshall(flow.getStatus(), STATUS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.