docs: public Deployment setName(final String name) {
          if (name == null) {
              this.name = content.resolvedName();
              if (this.name == null) {
                  throw new IllegalArgumentException("The name parameter is required and could not be resolved from the content: "
                          + content);
              }
          } else {
              this.name = name;
          }
          return this;
      }