NodeFile Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.NodeFile

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.

FileProperties properties()

Get the properties value.

String url()

Get the url value.

NodeFile withIsDirectory(Boolean isDirectory)

Set the isDirectory value.

NodeFile withName(String name)

Set the name value.

NodeFile withProperties(FileProperties properties)

Set the properties value.

NodeFile withUrl(String url)

Set the url value.

Method Details

isDirectory

public Boolean isDirectory()

Get the isDirectory value.

Returns:

the isDirectory value

name

public String name()

Get the name value.

Returns:

the name value

properties

public FileProperties properties()

Get the properties value.

Returns:

the properties value

url

public String url()

Get the url value.

Returns:

the url value

withIsDirectory

public NodeFile withIsDirectory(Boolean isDirectory)

Set the isDirectory value.

Parameters:

isDirectory - the isDirectory value to set

Returns:

the NodeFile object itself.

withName

public NodeFile withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the NodeFile object itself.

withProperties

public NodeFile withProperties(FileProperties properties)

Set the properties value.

Parameters:

properties - the properties value to set

Returns:

the NodeFile object itself.

withUrl

public NodeFile withUrl(String url)

Set the url value.

Parameters:

url - the url value to set

Returns:

the NodeFile object itself.

Applies to