FileDTO Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. knowledge. qnamaker. models. FileDTO
- com.
public class FileDTO
DTO to hold details of uploaded files.
Constructor Summary
Constructor | Description | |
---|---|---|
FileDTO() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
fileName()
Get the file |
String |
fileUri()
Get the file |
FileDTO |
withFileName(String fileName)
Set the file |
FileDTO |
withFileUri(String fileUri)
Set the file |
Methods inherited from java.lang.Object
Constructor Details
FileDTO
public FileDTO()
Method Details
fileName
public String fileName()
Get the fileName value.
Returns:
the fileName value
fileUri
public String fileUri()
Get the fileUri value.
Returns:
the fileUri value
withFileName
public FileDTO withFileName(String fileName)
Set the fileName value.
Parameters:
fileName
- the fileName value to set
Returns:
the FileDTO object itself.
withFileUri
public FileDTO withFileUri(String fileUri)
Set the fileUri value.
Parameters:
fileUri
- the fileUri value to set
Returns:
the FileDTO object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for