docs: public void marshall(PipelineDeclaration pipelineDeclaration, ProtocolMarshaller protocolMarshaller) {
  
          if (pipelineDeclaration == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(pipelineDeclaration.getName(), NAME_BINDING);
              protocolMarshaller.marshall(pipelineDeclaration.getRoleArn(), ROLEARN_BINDING);
              protocolMarshaller.marshall(pipelineDeclaration.getArtifactStore(), ARTIFACTSTORE_BINDING);
              protocolMarshaller.marshall(pipelineDeclaration.getArtifactStores(), ARTIFACTSTORES_BINDING);
              protocolMarshaller.marshall(pipelineDeclaration.getStages(), STAGES_BINDING);
              protocolMarshaller.marshall(pipelineDeclaration.getVersion(), VERSION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }