FileDetailsInner Class

public final class FileDetailsInner
extends ProxyResource

Object that represents File Details resource.

Constructor Summary

Constructor Description
FileDetailsInner()

Creates an instance of FileDetailsInner class.

Method Summary

Modifier and Type Method and Description
Integer chunkSize()

Get the chunkSize property: Size of each chunk.

OffsetDateTime createdOn()

Get the createdOn property: Time in UTC (ISO 8601 format) when file workspace was created.

Integer fileSize()

Get the fileSize property: Size of the file to be uploaded.

Integer numberOfChunks()

Get the numberOfChunks property: Number of chunks to be uploaded.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

void validate()

Validates the instance.

FileDetailsInner withChunkSize(Integer chunkSize)

Set the chunkSize property: Size of each chunk.

FileDetailsInner withFileSize(Integer fileSize)

Set the fileSize property: Size of the file to be uploaded.

FileDetailsInner withNumberOfChunks(Integer numberOfChunks)

Set the numberOfChunks property: Number of chunks to be uploaded.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

FileDetailsInner

public FileDetailsInner()

Creates an instance of FileDetailsInner class.

Method Details

chunkSize

public Integer chunkSize()

Get the chunkSize property: Size of each chunk.

Returns:

the chunkSize value.

createdOn

public OffsetDateTime createdOn()

Get the createdOn property: Time in UTC (ISO 8601 format) when file workspace was created.

Returns:

the createdOn value.

fileSize

public Integer fileSize()

Get the fileSize property: Size of the file to be uploaded.

Returns:

the fileSize value.

numberOfChunks

public Integer numberOfChunks()

Get the numberOfChunks property: Number of chunks to be uploaded.

Returns:

the numberOfChunks value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

withChunkSize

public FileDetailsInner withChunkSize(Integer chunkSize)

Set the chunkSize property: Size of each chunk.

Parameters:

chunkSize - the chunkSize value to set.

Returns:

the FileDetailsInner object itself.

withFileSize

public FileDetailsInner withFileSize(Integer fileSize)

Set the fileSize property: Size of the file to be uploaded.

Parameters:

fileSize - the fileSize value to set.

Returns:

the FileDetailsInner object itself.

withNumberOfChunks

public FileDetailsInner withNumberOfChunks(Integer numberOfChunks)

Set the numberOfChunks property: Number of chunks to be uploaded.

Parameters:

numberOfChunks - the numberOfChunks value to set.

Returns:

the FileDetailsInner object itself.

Applies to