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

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

# Class NodeAttributeInfo

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

@Public @Unstable public abstract class NodeAttributeInfo extends Object

Node Attribute Info describes a NodeAttribute.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NodeAttributeInfo()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract NodeAttributeKey`
  `getAttributeKey()`
  `abstract NodeAttributeType`
  `getAttributeType()`
  `static NodeAttributeInfo`
  `newInstance(NodeAttribute nodeAttribute)`
  `static NodeAttributeInfo`
  `newInstance(NodeAttributeKey nodeAttributeKey, NodeAttributeType attributeType)`
  `abstract void`
  `setAttributeKey(NodeAttributeKey attributeKey)`
  `abstract void`
  `setAttributeType(NodeAttributeType attributeType)`

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

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

- ## Constructor Details

  - ### NodeAttributeInfo

    public NodeAttributeInfo()

- ## Method Details

  - ### newInstance

    public static NodeAttributeInfo newInstance(NodeAttribute nodeAttribute)

  - ### newInstance

    public static NodeAttributeInfo newInstance(NodeAttributeKey nodeAttributeKey, NodeAttributeType attributeType)

  - ### getAttributeKey

    @Public @Unstable public abstract NodeAttributeKey getAttributeKey()

  - ### setAttributeKey

    @Public @Unstable public abstract void setAttributeKey(NodeAttributeKey attributeKey)

  - ### getAttributeType

    @Public @Unstable public abstract NodeAttributeType getAttributeType()

  - ### setAttributeType

    @Public @Unstable public abstract void setAttributeType(NodeAttributeType attributeType)