code: public void marshall(Queue queue, ProtocolMarshaller protocolMarshaller) {
  
          if (queue == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(queue.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(queue.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(queue.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(queue.getLastUpdated(), LASTUPDATED_BINDING);
              protocolMarshaller.marshall(queue.getName(), NAME_BINDING);
              protocolMarshaller.marshall(queue.getPricingPlan(), PRICINGPLAN_BINDING);
              protocolMarshaller.marshall(queue.getProgressingJobsCount(), PROGRESSINGJOBSCOUNT_BINDING);
              protocolMarshaller.marshall(queue.getReservationPlan(), RESERVATIONPLAN_BINDING);
              protocolMarshaller.marshall(queue.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(queue.getSubmittedJobsCount(), SUBMITTEDJOBSCOUNT_BINDING);
              protocolMarshaller.marshall(queue.getType(), TYPE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.