code: public PipelineDeclaration withArtifactStores(java.util.Map<String, ArtifactStore> artifactStores) {
          setArtifactStores(artifactStores);
          return this;
      }
docs: <p>
  A mapping of artifactStore objects and their corresponding regions. There must be an artifact store for the
  pipeline region and for each cross-region action within the pipeline. You can only use either artifactStore or
  artifactStores, not both.
  </p>
  <p>
  If you create a cross-region action in your pipeline, you must use artifactStores.
  </p>
  
  @param artifactStores
  A mapping of artifactStore objects and their corresponding regions. There must be an artifact store for
  the pipeline region and for each cross-region action within the pipeline. You can only use either
  artifactStore or artifactStores, not both.</p>
  <p>
  If you create a cross-region action in your pipeline, you must use artifactStores.
  @return Returns a reference to this object so that method calls can be chained together.