code: private void addYarnRuntimeDefinition(
            final AvroYarnJobSubmissionParameters yarnJobSubmissionParams,
            final AvroJobSubmissionParameters jobSubmissionParameters,
            final MultiRuntimeDefinitionBuilder builder) {
      // create and serialize yarn configuration if defined
      final Configuration yarnDriverConfiguration =
              createYarnConfiguration(yarnJobSubmissionParams, jobSubmissionParameters);
  
      // add yarn runtime to the builder
      builder.addRuntime(yarnDriverConfiguration, RuntimeIdentifier.RUNTIME_NAME);
    }
docs: Adds yarn runtime definitions to the builder.
  @param yarnJobSubmissionParams Yarn job submission parameters
  @param jobSubmissionParameters Generic job submission parameters
  @param builder The multi runtime builder