code: public void marshall(Stage stage, ProtocolMarshaller protocolMarshaller) {
  
          if (stage == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(stage.getAccessLogSettings(), ACCESSLOGSETTINGS_BINDING);
              protocolMarshaller.marshall(stage.getClientCertificateId(), CLIENTCERTIFICATEID_BINDING);
              protocolMarshaller.marshall(stage.getCreatedDate(), CREATEDDATE_BINDING);
              protocolMarshaller.marshall(stage.getDefaultRouteSettings(), DEFAULTROUTESETTINGS_BINDING);
              protocolMarshaller.marshall(stage.getDeploymentId(), DEPLOYMENTID_BINDING);
              protocolMarshaller.marshall(stage.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(stage.getLastUpdatedDate(), LASTUPDATEDDATE_BINDING);
              protocolMarshaller.marshall(stage.getRouteSettings(), ROUTESETTINGS_BINDING);
              protocolMarshaller.marshall(stage.getStageName(), STAGENAME_BINDING);
              protocolMarshaller.marshall(stage.getStageVariables(), STAGEVARIABLES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.