Class NodeAgentInformation
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.NodeAgentInformation
-
public class NodeAgentInformation extends Object
Information about the Compute Node agent. The Batch Compute Node agent is a program that runs on each Compute Node in the Pool and provides Batch capability on the Compute Node.
-
-
Constructor Summary
Constructors Constructor Description NodeAgentInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTime
lastUpdateTime()
Get this is the most recent time that the Compute Node agent was updated to a new version.String
version()
Get this version number can be checked against the Compute Node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md.NodeAgentInformation
withLastUpdateTime(org.joda.time.DateTime lastUpdateTime)
Set this is the most recent time that the Compute Node agent was updated to a new version.NodeAgentInformation
withVersion(String version)
Set this version number can be checked against the Compute Node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md.
-
-
-
Method Detail
-
version
public String version()
Get this version number can be checked against the Compute Node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md.- Returns:
- the version value
-
withVersion
public NodeAgentInformation withVersion(String version)
Set this version number can be checked against the Compute Node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md.- Parameters:
version
- the version value to set- Returns:
- the NodeAgentInformation object itself.
-
lastUpdateTime
public org.joda.time.DateTime lastUpdateTime()
Get this is the most recent time that the Compute Node agent was updated to a new version.- Returns:
- the lastUpdateTime value
-
withLastUpdateTime
public NodeAgentInformation withLastUpdateTime(org.joda.time.DateTime lastUpdateTime)
Set this is the most recent time that the Compute Node agent was updated to a new version.- Parameters:
lastUpdateTime
- the lastUpdateTime value to set- Returns:
- the NodeAgentInformation object itself.
-
-