code: public void marshall(ParameterDefinition parameterDefinition, ProtocolMarshaller protocolMarshaller) {
  
          if (parameterDefinition == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(parameterDefinition.getAllowedPattern(), ALLOWEDPATTERN_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getAllowedValues(), ALLOWEDVALUES_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getConstraintDescription(), CONSTRAINTDESCRIPTION_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getDefaultValue(), DEFAULTVALUE_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getMaxLength(), MAXLENGTH_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getMaxValue(), MAXVALUE_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getMinLength(), MINLENGTH_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getMinValue(), MINVALUE_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getName(), NAME_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getNoEcho(), NOECHO_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getReferencedByResources(), REFERENCEDBYRESOURCES_BINDING);
              protocolMarshaller.marshall(parameterDefinition.getType(), TYPE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.