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