public static class ExportRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExportRequest.Builder |
areReferencesIncluded(Boolean areReferencesIncluded)
Controls if the references will be exported along with the objects
|
ExportRequest.Builder |
bucketName(String bucketName)
The name of the Object Storage Bucket where the objects will be exported to
|
ExportRequest |
build() |
ExportRequest.Builder |
copy(ExportRequest model) |
ExportRequest.Builder |
createdBy(String createdBy)
Name of the user who initiated export request.
|
ExportRequest.Builder |
errorMessages(Map<String,String> errorMessages)
Contains key of the error
|
ExportRequest.Builder |
exportedItems(List<ExportObjectMetadataSummary> exportedItems)
The array of exported object details.
|
ExportRequest.Builder |
fileName(String fileName)
Name of the exported zip file.
|
ExportRequest.Builder |
filters(List<String> filters)
Export multiple objects based on filters.
|
ExportRequest.Builder |
isObjectOverwriteEnabled(Boolean isObjectOverwriteEnabled)
Flag to control whether to overwrite the object if it is already present at the provided
object storage location.
|
ExportRequest.Builder |
key(String key)
Export object request key
|
ExportRequest.Builder |
name(String name)
Name of the export request.
|
ExportRequest.Builder |
objectKeys(List<String> objectKeys)
The list of the objects to be exported
|
ExportRequest.Builder |
objectStorageRegion(String objectStorageRegion)
Region of the object storage (if using object storage of different region)
|
ExportRequest.Builder |
objectStorageTenancyId(String objectStorageTenancyId)
Optional parameter to point to object storage tenancy (if using Object Storage of
different tenancy)
|
ExportRequest.Builder |
referencedItems(String referencedItems)
The array of exported referenced objects.
|
ExportRequest.Builder |
status(ExportRequest.Status status)
Export Objects request status.
|
ExportRequest.Builder |
timeEndedInMillis(Long timeEndedInMillis)
Time at which the request was completely processed.
|
ExportRequest.Builder |
timeStartedInMillis(Long timeStartedInMillis)
Time at which the request started getting processed.
|
ExportRequest.Builder |
totalExportedObjectCount(Integer totalExportedObjectCount)
Number of objects that are exported.
|
public ExportRequest.Builder key(String key)
Export object request key
key
- the value to setpublic ExportRequest.Builder objectKeys(List<String> objectKeys)
The list of the objects to be exported
objectKeys
- the value to setpublic ExportRequest.Builder bucketName(String bucketName)
The name of the Object Storage Bucket where the objects will be exported to
bucketName
- the value to setpublic ExportRequest.Builder fileName(String fileName)
Name of the exported zip file.
fileName
- the value to setpublic ExportRequest.Builder objectStorageTenancyId(String objectStorageTenancyId)
Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
objectStorageTenancyId
- the value to setpublic ExportRequest.Builder objectStorageRegion(String objectStorageRegion)
Region of the object storage (if using object storage of different region)
objectStorageRegion
- the value to setpublic ExportRequest.Builder areReferencesIncluded(Boolean areReferencesIncluded)
Controls if the references will be exported along with the objects
areReferencesIncluded
- the value to setpublic ExportRequest.Builder isObjectOverwriteEnabled(Boolean isObjectOverwriteEnabled)
Flag to control whether to overwrite the object if it is already present at the provided object storage location.
isObjectOverwriteEnabled
- the value to setpublic ExportRequest.Builder filters(List<String> filters)
Export multiple objects based on filters.
filters
- the value to setpublic ExportRequest.Builder status(ExportRequest.Status status)
Export Objects request status.
status
- the value to setpublic ExportRequest.Builder createdBy(String createdBy)
Name of the user who initiated export request.
createdBy
- the value to setpublic ExportRequest.Builder totalExportedObjectCount(Integer totalExportedObjectCount)
Number of objects that are exported.
totalExportedObjectCount
- the value to setpublic ExportRequest.Builder timeStartedInMillis(Long timeStartedInMillis)
Time at which the request started getting processed.
timeStartedInMillis
- the value to setpublic ExportRequest.Builder timeEndedInMillis(Long timeEndedInMillis)
Time at which the request was completely processed.
timeEndedInMillis
- the value to setpublic ExportRequest.Builder errorMessages(Map<String,String> errorMessages)
Contains key of the error
errorMessages
- the value to setpublic ExportRequest.Builder exportedItems(List<ExportObjectMetadataSummary> exportedItems)
The array of exported object details.
exportedItems
- the value to setpublic ExportRequest.Builder referencedItems(String referencedItems)
The array of exported referenced objects.
referencedItems
- the value to setpublic ExportRequest.Builder name(String name)
Name of the export request.
name
- the value to setpublic ExportRequest build()
public ExportRequest.Builder copy(ExportRequest model)
Copyright © 2016–2024. All rights reserved.