Class CopyableFileSmbPropertiesList
java.lang.Object
com.azure.storage.file.share.models.CopyableFileSmbPropertiesList
This type allows users to specify optional smb properties to be copied from the source file.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of information about the file smb properties. -
Method Summary
Modifier and TypeMethodDescriptionisAll()
Specifies whether all properties should be copied from source file.Specifies whether changed on timestamp should be copied from source file.Specifies whether created on timestamp should be copied from source file.Specifies whether file attributes should be copied from source file.Specifies whether last written on timestamp should be copied from source file.isNone()
Specifies whether no properties should be copied from source file.setChangedOn
(Boolean changedOn) Specify whether changed on timestamp should be copied from source file.setCreatedOn
(Boolean createdOn) Specify whether created on timestamp should be copied from source file.setFileAttributes
(Boolean fileAttributes) Specify whether file attributes should be copied from source file.setLastWrittenOn
(Boolean lastWrittenOn) Specify whether last written on timestamp should be copied from source file.toList()
Gets list of properties that are set to true.
-
Constructor Details
-
CopyableFileSmbPropertiesList
public CopyableFileSmbPropertiesList()Creates an instance of information about the file smb properties.
-
-
Method Details
-
isFileAttributes
Specifies whether file attributes should be copied from source file.- Returns:
true
if file attributes should be copied.
-
setFileAttributes
Specify whether file attributes should be copied from source file.- Parameters:
fileAttributes
- Flag indicating whether to copy file attributes from source file- Returns:
- the updated
CopyableFileSmbPropertiesList
-
isCreatedOn
Specifies whether created on timestamp should be copied from source file.- Returns:
true
if created on timestamp should be copied.
-
setCreatedOn
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:
- the updated
CopyableFileSmbPropertiesList
-
isLastWrittenOn
Specifies whether last written on timestamp should be copied from source file.- Returns:
true
if last written on timestamp should be copied.
-
setLastWrittenOn
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:
- the updated
CopyableFileSmbPropertiesList
-
isChangedOn
Specifies whether changed on timestamp should be copied from source file.- Returns:
true
if changed on timestamp should be copied.
-
setChangedOn
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:
- the updated
CopyableFileSmbPropertiesList
-
isAll
Specifies whether all properties should be copied from source file.- Returns:
- whether all properties should be copied from the source file.
-
isNone
Specifies whether no properties should be copied from source file.- Returns:
- whether no properties should be copied from the source file.
-
toList
Gets list of properties that are set to true.- Returns:
- a list of the flag set to true.
-