Class FileProperties
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.FileProperties
-
public class FileProperties extends Object
The properties of a file on a Compute Node.
-
-
Constructor Summary
Constructors Constructor Description FileProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
contentLength()
Get the contentLength value.String
contentType()
Get the contentType value.org.joda.time.DateTime
creationTime()
Get the creation time is not returned for files on Linux Compute Nodes.String
fileMode()
Get the file mode is returned only for files on Linux Compute Nodes.org.joda.time.DateTime
lastModified()
Get the lastModified value.FileProperties
withContentLength(long contentLength)
Set the contentLength value.FileProperties
withContentType(String contentType)
Set the contentType value.FileProperties
withCreationTime(org.joda.time.DateTime creationTime)
Set the creation time is not returned for files on Linux Compute Nodes.FileProperties
withFileMode(String fileMode)
Set the file mode is returned only for files on Linux Compute Nodes.FileProperties
withLastModified(org.joda.time.DateTime lastModified)
Set the lastModified value.
-
-
-
Method Detail
-
creationTime
public org.joda.time.DateTime creationTime()
Get the creation time is not returned for files on Linux Compute Nodes.- Returns:
- the creationTime value
-
withCreationTime
public FileProperties withCreationTime(org.joda.time.DateTime creationTime)
Set the creation time is not returned for files on Linux Compute Nodes.- Parameters:
creationTime
- the creationTime value to set- Returns:
- the FileProperties object itself.
-
lastModified
public org.joda.time.DateTime lastModified()
Get the lastModified value.- Returns:
- the lastModified value
-
withLastModified
public FileProperties withLastModified(org.joda.time.DateTime lastModified)
Set the lastModified value.- Parameters:
lastModified
- the lastModified value to set- Returns:
- the FileProperties object itself.
-
contentLength
public long contentLength()
Get the contentLength value.- Returns:
- the contentLength value
-
withContentLength
public FileProperties withContentLength(long contentLength)
Set the contentLength value.- Parameters:
contentLength
- the contentLength value to set- Returns:
- the FileProperties object itself.
-
contentType
public String contentType()
Get the contentType value.- Returns:
- the contentType value
-
withContentType
public FileProperties withContentType(String contentType)
Set the contentType value.- Parameters:
contentType
- the contentType value to set- Returns:
- the FileProperties object itself.
-
fileMode
public String fileMode()
Get the file mode is returned only for files on Linux Compute Nodes.- Returns:
- the fileMode value
-
withFileMode
public FileProperties withFileMode(String fileMode)
Set the file mode is returned only for files on Linux Compute Nodes.- Parameters:
fileMode
- the fileMode value to set- Returns:
- the FileProperties object itself.
-
-