CopyableFileSmbPropertiesList Class
- java.
lang. Object - com.
azure. storage. file. share. models. CopyableFileSmbPropertiesList
- com.
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. |
Copyable |
setChangedOn(Boolean changedOn)
Specify whether changed on timestamp should be copied from source file. |
Copyable |
setCreatedOn(Boolean createdOn)
Specify whether created on timestamp should be copied from source file. |
Copyable |
setFileAttributes(Boolean fileAttributes)
Specify whether file attributes should be copied from source file. |
Copyable |
setLastWrittenOn(Boolean lastWrittenOn)
Specify whether last written on timestamp should be copied from source file. |
List<Copyable |
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:
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:
setChangedOn
public CopyableFileSmbPropertiesList setChangedOn(Boolean changedOn)
Specify whether changed on timestamp should be copied from source file.
Parameters:
Returns:
setCreatedOn
public CopyableFileSmbPropertiesList setCreatedOn(Boolean createdOn)
Specify whether created on timestamp should be copied from source file.
Parameters:
Returns:
setFileAttributes
public CopyableFileSmbPropertiesList setFileAttributes(Boolean fileAttributes)
Specify whether file attributes should be copied from source file.
Parameters:
Returns:
setLastWrittenOn
public CopyableFileSmbPropertiesList setLastWrittenOn(Boolean lastWrittenOn)
Specify whether last written on timestamp should be copied from source file.
Parameters:
Returns:
toList
public List
Gets list of properties that are set to true.
Returns:
Applies to
Azure SDK for Java