Class ExportRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.ExportRequest.Builder
-
- Enclosing class:
- ExportRequest
public static class ExportRequest.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportRequest.Builder
areReferencesIncluded(Boolean areReferencesIncluded)
Controls if the references will be exported along with the objectsExportRequest.Builder
bucketName(String bucketName)
The name of the Object Storage Bucket where the objects will be exported toExportRequest
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 errorExportRequest.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 keyExportRequest.Builder
name(String name)
Name of the export request.ExportRequest.Builder
objectKeys(List<String> objectKeys)
The list of the objects to be exportedExportRequest.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.
-
-
-
Method Detail
-
key
public ExportRequest.Builder key(String key)
Export object request key- Parameters:
key
- the value to set- Returns:
- this builder
-
objectKeys
public ExportRequest.Builder objectKeys(List<String> objectKeys)
The list of the objects to be exported- Parameters:
objectKeys
- the value to set- Returns:
- this builder
-
bucketName
public ExportRequest.Builder bucketName(String bucketName)
The name of the Object Storage Bucket where the objects will be exported to- Parameters:
bucketName
- the value to set- Returns:
- this builder
-
fileName
public ExportRequest.Builder fileName(String fileName)
Name of the exported zip file.- Parameters:
fileName
- the value to set- Returns:
- this builder
-
objectStorageTenancyId
public ExportRequest.Builder objectStorageTenancyId(String objectStorageTenancyId)
Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)- Parameters:
objectStorageTenancyId
- the value to set- Returns:
- this builder
-
objectStorageRegion
public ExportRequest.Builder objectStorageRegion(String objectStorageRegion)
Region of the object storage (if using object storage of different region)- Parameters:
objectStorageRegion
- the value to set- Returns:
- this builder
-
areReferencesIncluded
public ExportRequest.Builder areReferencesIncluded(Boolean areReferencesIncluded)
Controls if the references will be exported along with the objects- Parameters:
areReferencesIncluded
- the value to set- Returns:
- this builder
-
isObjectOverwriteEnabled
public ExportRequest.Builder isObjectOverwriteEnabled(Boolean isObjectOverwriteEnabled)
Flag to control whether to overwrite the object if it is already present at the provided object storage location.- Parameters:
isObjectOverwriteEnabled
- the value to set- Returns:
- this builder
-
filters
public ExportRequest.Builder filters(List<String> filters)
Export multiple objects based on filters.- Parameters:
filters
- the value to set- Returns:
- this builder
-
status
public ExportRequest.Builder status(ExportRequest.Status status)
Export Objects request status.- Parameters:
status
- the value to set- Returns:
- this builder
-
createdBy
public ExportRequest.Builder createdBy(String createdBy)
Name of the user who initiated export request.- Parameters:
createdBy
- the value to set- Returns:
- this builder
-
totalExportedObjectCount
public ExportRequest.Builder totalExportedObjectCount(Integer totalExportedObjectCount)
Number of objects that are exported.- Parameters:
totalExportedObjectCount
- the value to set- Returns:
- this builder
-
timeStartedInMillis
public ExportRequest.Builder timeStartedInMillis(Long timeStartedInMillis)
Time at which the request started getting processed.- Parameters:
timeStartedInMillis
- the value to set- Returns:
- this builder
-
timeEndedInMillis
public ExportRequest.Builder timeEndedInMillis(Long timeEndedInMillis)
Time at which the request was completely processed.- Parameters:
timeEndedInMillis
- the value to set- Returns:
- this builder
-
errorMessages
public ExportRequest.Builder errorMessages(Map<String,String> errorMessages)
Contains key of the error- Parameters:
errorMessages
- the value to set- Returns:
- this builder
-
exportedItems
public ExportRequest.Builder exportedItems(List<ExportObjectMetadataSummary> exportedItems)
The array of exported object details.- Parameters:
exportedItems
- the value to set- Returns:
- this builder
-
referencedItems
public ExportRequest.Builder referencedItems(String referencedItems)
The array of exported referenced objects.- Parameters:
referencedItems
- the value to set- Returns:
- this builder
-
name
public ExportRequest.Builder name(String name)
Name of the export request.- Parameters:
name
- the value to set- Returns:
- this builder
-
build
public ExportRequest build()
-
copy
public ExportRequest.Builder copy(ExportRequest model)
-
-