NodeToAttributeValue (Apache Hadoop YARN API 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.api.records, class: NodeToAttributeValue

Package org.apache.hadoop.yarn.api.records

# Class NodeToAttributeValue

java.lang.Object
org.apache.hadoop.yarn.api.records.NodeToAttributeValue

@Public @Unstable public abstract class NodeToAttributeValue extends Object

Mapping of Attribute Value to a Node.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NodeToAttributeValue()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract String`
  `getAttributeValue()`
  `abstract String`
  `getHostname()`
  `static NodeToAttributeValue`
  `newInstance(String hostname, String attributeValue)`
  `abstract void`
  `setAttributeValue(String attributeValue)`
  `abstract void`
  `setHostname(String hostname)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NodeToAttributeValue

    public NodeToAttributeValue()

- ## Method Details

  - ### newInstance

    public static NodeToAttributeValue newInstance(String hostname, String attributeValue)

  - ### getAttributeValue

    @Public @Unstable public abstract String getAttributeValue()

  - ### setAttributeValue

    @Public @Unstable public abstract void setAttributeValue(String attributeValue)

  - ### getHostname

    @Public @Unstable public abstract String getHostname()

  - ### setHostname

    @Public @Unstable public abstract void setHostname(String hostname)