ComputeNodeInformation Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. ComputeNodeInformation
- com.
public class ComputeNodeInformation
Information about the Compute Node on which a Task ran.
Constructor Summary
Constructor | Description | |
---|---|---|
ComputeNodeInformation() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
affinityId()
Get the affinity |
String |
nodeId()
Get the node |
String |
nodeUrl()
Get the node |
String |
poolId()
Get the pool |
String |
taskRootDirectory()
Get the task |
String |
taskRootDirectoryUrl()
Get the task |
Compute |
withAffinityId(String affinityId)
Set the affinity |
Compute |
withNodeId(String nodeId)
Set the node |
Compute |
withNodeUrl(String nodeUrl)
Set the node |
Compute |
withPoolId(String poolId)
Set the pool |
Compute |
withTaskRootDirectory(String taskRootDirectory)
Set the task |
Compute |
withTaskRootDirectoryUrl(String taskRootDirectoryUrl)
Set the task |
Methods inherited from java.lang.Object
Constructor Details
ComputeNodeInformation
public ComputeNodeInformation()
Method Details
affinityId
public String affinityId()
Get the affinityId value.
Returns:
nodeId
public String nodeId()
Get the nodeId value.
Returns:
nodeUrl
public String nodeUrl()
Get the nodeUrl value.
Returns:
poolId
public String poolId()
Get the poolId value.
Returns:
taskRootDirectory
public String taskRootDirectory()
Get the taskRootDirectory value.
Returns:
taskRootDirectoryUrl
public String taskRootDirectoryUrl()
Get the taskRootDirectoryUrl value.
Returns:
withAffinityId
public ComputeNodeInformation withAffinityId(String affinityId)
Set the affinityId value.
Parameters:
Returns:
withNodeId
public ComputeNodeInformation withNodeId(String nodeId)
Set the nodeId value.
Parameters:
Returns:
withNodeUrl
public ComputeNodeInformation withNodeUrl(String nodeUrl)
Set the nodeUrl value.
Parameters:
Returns:
withPoolId
public ComputeNodeInformation withPoolId(String poolId)
Set the poolId value.
Parameters:
Returns:
withTaskRootDirectory
public ComputeNodeInformation withTaskRootDirectory(String taskRootDirectory)
Set the taskRootDirectory value.
Parameters:
Returns:
withTaskRootDirectoryUrl
public ComputeNodeInformation withTaskRootDirectoryUrl(String taskRootDirectoryUrl)
Set the taskRootDirectoryUrl value.
Parameters:
Returns:
Applies to
Azure SDK for Java