Interface ObjectLifecycleMetadataCollectionRequest.Builder
- Enclosing interface:
- ObjectLifecycleMetadataCollectionRequest
public static interface ObjectLifecycleMetadataCollectionRequest.Builder
Creates an instance of
ObjectLifecycleMetadataCollectionRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Validates and retrieves a completedObjectLifecycleMetadataCollectionRequest.withActive(boolean active) Optional: sets the status value for the requested object lifecycles.withObjectNames(List<String> objectNames) Optional: sets the object names associated with the requested object lifecycles.
-
Method Details
-
withActive
Optional: sets the status value for the requested object lifecycles. When omitted, retrieves all object lifecycles in the Vault.- Parameters:
active- true retrieves all the object lifecycles with Active status; false retrieves all object lifecycles with the Inactive status- Returns:
- this
ObjectLifecycleMetadataCollectionRequest.Builder
-
withObjectNames
Optional: sets the object names associated with the requested object lifecycles. When omitted, retrieves all object lifecycles in the Vault.- Parameters:
objectNames- the names of the objects associated with the object lifecycles to retrieve metadata of. Cannot be null or empty.- Returns:
- this
ObjectLifecycleMetadataCollectionRequest.Builder
-
build
Validates and retrieves a completedObjectLifecycleMetadataCollectionRequest.- Returns:
- this completed
ObjectLifecycleMetadataCollectionRequest
-