code: public void marshall(CreateFleetRequest createFleetRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createFleetRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createFleetRequest.getName(), NAME_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getImageName(), IMAGENAME_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getImageArn(), IMAGEARN_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getInstanceType(), INSTANCETYPE_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getFleetType(), FLEETTYPE_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getComputeCapacity(), COMPUTECAPACITY_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getVpcConfig(), VPCCONFIG_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getMaxUserDurationInSeconds(), MAXUSERDURATIONINSECONDS_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getDisconnectTimeoutInSeconds(), DISCONNECTTIMEOUTINSECONDS_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getDisplayName(), DISPLAYNAME_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getEnableDefaultInternetAccess(), ENABLEDEFAULTINTERNETACCESS_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getDomainJoinInfo(), DOMAINJOININFO_BINDING);
              protocolMarshaller.marshall(createFleetRequest.getTags(), TAGS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.