code: public void marshall(CreatePresignedNotebookInstanceUrlRequest createPresignedNotebookInstanceUrlRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createPresignedNotebookInstanceUrlRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createPresignedNotebookInstanceUrlRequest.getNotebookInstanceName(), NOTEBOOKINSTANCENAME_BINDING);
              protocolMarshaller.marshall(createPresignedNotebookInstanceUrlRequest.getSessionExpirationDurationInSeconds(),
                      SESSIONEXPIRATIONDURATIONINSECONDS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.