FileDetailsProperties Class
- java.
lang. Object - com.
azure. resourcemanager. support. fluent. models. FileDetailsProperties
- com.
public final class FileDetailsProperties
Describes the properties of a file.
Constructor Summary
| Constructor | Description |
|---|---|
| FileDetailsProperties() |
Creates an instance of File |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
chunkSize()
Get the chunk |
|
Offset |
createdOn()
Get the created |
| Integer |
fileSize()
Get the file |
| Integer |
numberOfChunks()
Get the number |
| void |
validate()
Validates the instance. |
|
File |
withChunkSize(Integer chunkSize)
Set the chunk |
|
File |
withFileSize(Integer fileSize)
Set the file |
|
File |
withNumberOfChunks(Integer numberOfChunks)
Set the number |
Methods inherited from java.lang.Object
Constructor Details
FileDetailsProperties
public FileDetailsProperties()
Creates an instance of FileDetailsProperties class.
Method Details
chunkSize
public Integer chunkSize()
Get the chunkSize property: Size of each chunk.
Returns:
createdOn
public OffsetDateTime createdOn()
Get the createdOn property: Time in UTC (ISO 8601 format) when file workspace was created.
Returns:
fileSize
public Integer fileSize()
Get the fileSize property: Size of the file to be uploaded.
Returns:
numberOfChunks
public Integer numberOfChunks()
Get the numberOfChunks property: Number of chunks to be uploaded.
Returns:
validate
public void validate()
Validates the instance.
withChunkSize
public FileDetailsProperties withChunkSize(Integer chunkSize)
Set the chunkSize property: Size of each chunk.
Parameters:
Returns:
withFileSize
public FileDetailsProperties withFileSize(Integer fileSize)
Set the fileSize property: Size of the file to be uploaded.
Parameters:
Returns:
withNumberOfChunks
public FileDetailsProperties withNumberOfChunks(Integer numberOfChunks)
Set the numberOfChunks property: Number of chunks to be uploaded.
Parameters:
Returns: