NodeFile Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. NodeFile
- com.
public class NodeFile
Information about a file or directory on a compute node.
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
isDirectory()
Get the isDirectory value. |
String |
name()
Get the name value. |
File |
properties()
Get the properties value. |
String |
url()
Get the url value. |
Node |
withIsDirectory(Boolean isDirectory)
Set the isDirectory value. |
Node |
withName(String name)
Set the name value. |
Node |
withProperties(FileProperties properties)
Set the properties value. |
Node |
withUrl(String url)
Set the url value. |
Method Details
isDirectory
public Boolean isDirectory()
Get the isDirectory value.
Returns:
name
public String name()
Get the name value.
Returns:
properties
public FileProperties properties()
Get the properties value.
Returns:
url
public String url()
Get the url value.
Returns:
withIsDirectory
public NodeFile withIsDirectory(Boolean isDirectory)
Set the isDirectory value.
Parameters:
Returns:
withName
public NodeFile withName(String name)
Set the name value.
Parameters:
Returns:
withProperties
public NodeFile withProperties(FileProperties properties)
Set the properties value.
Parameters:
Returns:
withUrl
public NodeFile withUrl(String url)
Set the url value.
Parameters:
Returns:
Applies to
Azure SDK for Java