FileDetails Interface
public interface FileDetails
An immutable client-side representation of FileDetails.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Integer |
chunkSize()
Gets the chunk |
|
abstract
Offset |
createdOn()
Gets the created |
| abstract Integer |
fileSize()
Gets the file |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
File |
innerModel()
Gets the inner com. |
| abstract String |
name()
Gets the name property: The name of the resource. |
| abstract Integer |
numberOfChunks()
Gets the number |
|
abstract
File |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
File |
refresh(Context context)
Refreshes the resource to sync with Azure. |
|
abstract
System |
systemData()
Gets the system |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract void |
upload(UploadFile uploadFile)
This API allows you to upload content to a file. |
| abstract Response<Void> |
uploadWithResponse(UploadFile uploadFile, Context context)
This API allows you to upload content to a file. |
Method Details
chunkSize
public abstract Integer chunkSize()
Gets the chunkSize property: Size of each chunk. The size of each chunk should be provided in bytes and must not exceed 2.5 megabytes (MB).
Returns:
createdOn
public abstract OffsetDateTime createdOn()
Gets the createdOn property: Time in UTC (ISO 8601 format) when file workspace was created.
Returns:
fileSize
public abstract Integer fileSize()
Gets the fileSize property: Size of the file to be uploaded. The file size must not exceed 5 MB and should be provided in bytes.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract FileDetailsInner innerModel()
Gets the inner com.azure.resourcemanager.support.fluent.models.FileDetailsInner object.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
numberOfChunks
public abstract Integer numberOfChunks()
Gets the numberOfChunks property: Number of chunks to be uploaded. The maximum number of allowed chunks is 2.
Returns:
refresh
public abstract FileDetails refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract FileDetails refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
upload
public abstract void upload(UploadFile uploadFile)
This API allows you to upload content to a file.
Parameters:
uploadWithResponse
public abstract Response<Void> uploadWithResponse(UploadFile uploadFile, Context context)
This API allows you to upload content to a file.
Parameters:
Returns: