Package com.veeva.vault.sdk.api.webapi
Interface WebApiFileResponseData.Builder
- Enclosing interface:
- WebApiFileResponseData
public static interface WebApiFileResponseData.Builder
Creates an instance of
WebApiFileResponseData
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Validates and retrieves a completedWebApiFileResponseData
.withFileName
(String fileName) Retrieves the name of the file to include in the response.withFileReference
(FileReference fileReference) Retrieves theFileReference
of the file to include in the response.
-
Method Details
-
withFileReference
Retrieves theFileReference
of the file to include in the response.- Parameters:
fileReference
- the file to include in the response- Returns:
- this
WebApiFileResponseData.Builder
-
withFileName
Retrieves the name of the file to include in the response.- Parameters:
fileName
- the name of the file to include in the response- Returns:
- this
WebApiFileResponseData.Builder
-
build
WebApiFileResponseData build()Validates and retrieves a completedWebApiFileResponseData
.- Returns:
- this completed
WebApiFileResponseData
-