Class ExportRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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