Package com.veeva.vault.sdk.api.data
Interface ObjectFieldMetadataCollectionRequest.Builder
- Enclosing interface:
- ObjectFieldMetadataCollectionRequest
public static interface ObjectFieldMetadataCollectionRequest.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Validates and retrieves a completedObjectFieldMetadataCollectionRequest
.withFieldNames
(List<String> fieldNames) Optional: Sets a filter to retrieve field metadata with the specified names.withObjectName
(String objectName) Required: Sets the object name.Optional: Sets a filter to retrieve required field attributes only.Optional: Sets a filter to retrieve unique field attributes only.
-
Method Details
-
withObjectName
Required: Sets the object name.- Parameters:
objectName
- the name of the object. Cannot be null or empty. Object must exist. For example, "product__v".- Returns:
- this
ObjectFieldMetadataCollectionRequest.Builder
-
withFieldNames
Optional: Sets a filter to retrieve field metadata with the specified names. When omitted, retrieves all field attributes.- Parameters:
fieldNames
- the List of field names. Cannot be null or empty.- Returns:
- this
ObjectFieldMetadataCollectionRequest.Builder
-
withRequiredOnly
ObjectFieldMetadataCollectionRequest.Builder withRequiredOnly()Optional: Sets a filter to retrieve required field attributes only. When omitted, retrieves all field attributes.- Returns:
- this
ObjectFieldMetadataCollectionRequest.Builder
-
withUniqueOnly
ObjectFieldMetadataCollectionRequest.Builder withUniqueOnly()Optional: Sets a filter to retrieve unique field attributes only. When omitted, retrieves all field attributes.- Returns:
- this
ObjectFieldMetadataCollectionRequest.Builder
-
build
Validates and retrieves a completedObjectFieldMetadataCollectionRequest
.- Returns:
- the completed
ObjectFieldMetadataCollectionRequest
-