Partilhar via


CopyableFileSmbPropertiesList Class

  • java.lang.Object
    • com.azure.storage.file.share.models.CopyableFileSmbPropertiesList

public final class CopyableFileSmbPropertiesList

This type allows users to specify optional smb properties to be copied from the source file.

Constructor Summary

Constructor Description
CopyableFileSmbPropertiesList()

Creates an instance of information about the file smb properties.

Method Summary

Modifier and Type Method and Description
Boolean isAll()

Specifies whether all properties should be copied from source file.

Boolean isChangedOn()

Specifies whether changed on timestamp should be copied from source file.

Boolean isCreatedOn()

Specifies whether created on timestamp should be copied from source file.

Boolean isFileAttributes()

Specifies whether file attributes should be copied from source file.

Boolean isLastWrittenOn()

Specifies whether last written on timestamp should be copied from source file.

Boolean isNone()

Specifies whether no properties should be copied from source file.

CopyableFileSmbPropertiesList setChangedOn(Boolean changedOn)

Specify whether changed on timestamp should be copied from source file.

CopyableFileSmbPropertiesList setCreatedOn(Boolean createdOn)

Specify whether created on timestamp should be copied from source file.

CopyableFileSmbPropertiesList setFileAttributes(Boolean fileAttributes)

Specify whether file attributes should be copied from source file.

CopyableFileSmbPropertiesList setLastWrittenOn(Boolean lastWrittenOn)

Specify whether last written on timestamp should be copied from source file.

List<CopyableFileSmbProperties> toList()

Gets list of properties that are set to true.

Methods inherited from java.lang.Object

Constructor Details

CopyableFileSmbPropertiesList

public CopyableFileSmbPropertiesList()

Creates an instance of information about the file smb properties.

Method Details

isAll

public Boolean isAll()

Specifies whether all properties should be copied from source file.

Returns:

whether all properties should be copied from the source file.

isChangedOn

public Boolean isChangedOn()

Specifies whether changed on timestamp should be copied from source file.

Returns:

true if changed on timestamp should be copied.

isCreatedOn

public Boolean isCreatedOn()

Specifies whether created on timestamp should be copied from source file.

Returns:

true if created on timestamp should be copied.

isFileAttributes

public Boolean isFileAttributes()

Specifies whether file attributes should be copied from source file.

Returns:

true if file attributes should be copied.

isLastWrittenOn

public Boolean isLastWrittenOn()

Specifies whether last written on timestamp should be copied from source file.

Returns:

true if last written on timestamp should be copied.

isNone

public Boolean isNone()

Specifies whether no properties should be copied from source file.

Returns:

whether no properties should be copied from the source file.

setChangedOn

public CopyableFileSmbPropertiesList setChangedOn(Boolean changedOn)

Specify whether changed on timestamp should be copied from source file.

Parameters:

changedOn - Flag indicating whether to copy changed on timestamp from source file

Returns:

setCreatedOn

public CopyableFileSmbPropertiesList setCreatedOn(Boolean createdOn)

Specify whether created on timestamp should be copied from source file.

Parameters:

createdOn - Flag indicating whether to copy created on timestamp from source file

Returns:

setFileAttributes

public CopyableFileSmbPropertiesList setFileAttributes(Boolean fileAttributes)

Specify whether file attributes should be copied from source file.

Parameters:

fileAttributes - Flag indicating whether to copy file attributes from source file

Returns:

setLastWrittenOn

public CopyableFileSmbPropertiesList setLastWrittenOn(Boolean lastWrittenOn)

Specify whether last written on timestamp should be copied from source file.

Parameters:

lastWrittenOn - Flag indicating whether to copy last written on timestamp from source file

Returns:

toList

public List toList()

Gets list of properties that are set to true.

Returns:

a list of the flag set to true.

Applies to