code: public DockerVolumeConfiguration withLabels(java.util.Map<String, String> labels) {
          setLabels(labels);
          return this;
      }
docs: <p>
  Custom metadata to add to your Docker volume. This parameter maps to <code>Labels</code> in the <a
  href="https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate">Create a volume</a> section of the <a
  href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>xxlabel</code> option to <a
  href="https://docs.docker.com/engine/reference/commandline/volume_create/"> <code>docker volume create</code>
  </a>.
  </p>
  
  @param labels
  Custom metadata to add to your Docker volume. This parameter maps to <code>Labels</code> in the <a
  href="https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate">Create a volume</a> section of the
  <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>xxlabel</code>
  option to <a href="https://docs.docker.com/engine/reference/commandline/volume_create/">
  <code>docker volume create</code> </a>.
  @return Returns a reference to this object so that method calls can be chained together.