Class FileDetails
java.lang.Object
com.azure.analytics.purview.datamap.models.FileDetails
The file details for the "file" field.
-
Constructor Summary
ConstructorsConstructorDescriptionFileDetails(com.azure.core.util.BinaryData content) Creates an instance of FileDetails class. -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.BinaryDataGet the content property: The content of the file.Get the contentType property: The content-type of the file.Get the filename property: The filename of the file.setContentType(String contentType) Set the contentType property: The content-type of the file.setFilename(String filename) Set the filename property: The filename of the file.
-
Constructor Details
-
FileDetails
public FileDetails(com.azure.core.util.BinaryData content) Creates an instance of FileDetails class.- Parameters:
content- the content value to set.
-
-
Method Details
-
getContent
public com.azure.core.util.BinaryData getContent()Get the content property: The content of the file.- Returns:
- the content value.
-
getFilename
Get the filename property: The filename of the file.- Returns:
- the filename value.
-
setFilename
Set the filename property: The filename of the file.- Parameters:
filename- the filename value to set.- Returns:
- the FileDetails object itself.
-
getContentType
Get the contentType property: The content-type of the file.- Returns:
- the contentType value.
-
setContentType
Set the contentType property: The content-type of the file.- Parameters:
contentType- the contentType value to set.- Returns:
- the FileDetails object itself.
-