code: public void marshall(FleetAttributes fleetAttributes, ProtocolMarshaller protocolMarshaller) {
  
          if (fleetAttributes == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(fleetAttributes.getFleetId(), FLEETID_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getFleetArn(), FLEETARN_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getFleetType(), FLEETTYPE_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getInstanceType(), INSTANCETYPE_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getName(), NAME_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getCreationTime(), CREATIONTIME_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getTerminationTime(), TERMINATIONTIME_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getBuildId(), BUILDID_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getScriptId(), SCRIPTID_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getServerLaunchPath(), SERVERLAUNCHPATH_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getServerLaunchParameters(), SERVERLAUNCHPARAMETERS_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getLogPaths(), LOGPATHS_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getNewGameSessionProtectionPolicy(), NEWGAMESESSIONPROTECTIONPOLICY_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getOperatingSystem(), OPERATINGSYSTEM_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getResourceCreationLimitPolicy(), RESOURCECREATIONLIMITPOLICY_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getMetricGroups(), METRICGROUPS_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getStoppedActions(), STOPPEDACTIONS_BINDING);
              protocolMarshaller.marshall(fleetAttributes.getInstanceRoleArn(), INSTANCEROLEARN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.