HamletSpec._Param (Apache Hadoop YARN Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.webapp.hamlet2, class: HamletSpec, interface: _Param

Package org.apache.hadoop.yarn.webapp.hamlet2

# Interface HamletSpec._Param

All Superinterfaces:
  `HamletSpec.__`, `HamletSpec._Child`

All Known Subinterfaces:
  `HamletSpec.OBJECT`

All Known Implementing Classes:
  `Hamlet.OBJECT`

Enclosing class:
  HamletSpec

public static interface HamletSpec._Param extends HamletSpec._Child

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HamletSpec.PARAM`
  `param()`
  Add a PARAM (parameter) element.
  `HamletSpec._Param`
  `param(String name, String value)`
  Add a PARAM element.

  ### Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Child

  `__`

- ## Method Details

  - ### param

    HamletSpec.PARAM param()
    Add a PARAM (parameter) element.
    Returns:
      a new PARAM element builder

  - ### param

    HamletSpec._Param param(String name, String value)
    Add a PARAM element. Shortcut of `param().$name(name).$value(value).__();`
    Parameters:
      `name` - of the value
      `value` - the value
    Returns:
      the current element builder