public Resource build() {
      Preconditions.checkArgument(
          containerName != null && groupName != null && type != null,
          "containerName, groupName and type should not be null");
      return new Resource(this);
    }
Job-Id, This property must be included when registering the optimizer.
amoro-common/src/main/java/org/apache/amoro/resource/Resource.java