code: public void marshall(Robot robot, ProtocolMarshaller protocolMarshaller) {
  
          if (robot == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(robot.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(robot.getName(), NAME_BINDING);
              protocolMarshaller.marshall(robot.getFleetArn(), FLEETARN_BINDING);
              protocolMarshaller.marshall(robot.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(robot.getGreenGrassGroupId(), GREENGRASSGROUPID_BINDING);
              protocolMarshaller.marshall(robot.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(robot.getArchitecture(), ARCHITECTURE_BINDING);
              protocolMarshaller.marshall(robot.getLastDeploymentJob(), LASTDEPLOYMENTJOB_BINDING);
              protocolMarshaller.marshall(robot.getLastDeploymentTime(), LASTDEPLOYMENTTIME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.