public static class ImportRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ImportRequest.Builder |
areDataAssetReferencesIncluded(Boolean areDataAssetReferencesIncluded)
This field controls if the data asset references will be included during import.
|
ImportRequest.Builder |
bucketName(String bucketName)
The name of the Object Storage Bucket where the objects will be imported from
|
ImportRequest |
build() |
ImportRequest.Builder |
copy(ImportRequest model) |
ImportRequest.Builder |
createdBy(String createdBy)
Name of the user who initiated import request.
|
ImportRequest.Builder |
errorMessages(Map<String,String> errorMessages)
Contains key of the error
|
ImportRequest.Builder |
fileName(String fileName)
Name of the zip file from which objects will be imported.
|
ImportRequest.Builder |
importConflictResolution(ImportConflictResolution importConflictResolution) |
ImportRequest.Builder |
importedObjects(List<ImportObjectMetadataSummary> importedObjects)
The array of imported object details.
|
ImportRequest.Builder |
key(String key)
Import object request key
|
ImportRequest.Builder |
name(String name)
Name of the import request.
|
ImportRequest.Builder |
objectKeyForImport(String objectKeyForImport)
Key of the object inside which all the objects will be imported
|
ImportRequest.Builder |
objectStorageRegion(String objectStorageRegion)
Region of the object storage (if using object storage of different region)
|
ImportRequest.Builder |
objectStorageTenancyId(String objectStorageTenancyId)
Optional parameter to point to object storage tenancy (if using Object Storage of
different tenancy)
|
ImportRequest.Builder |
status(ImportRequest.Status status)
Import Objects request status.
|
ImportRequest.Builder |
timeEndedInMillis(Long timeEndedInMillis)
Time at which the request was completely processed.
|
ImportRequest.Builder |
timeStartedInMillis(Long timeStartedInMillis)
Time at which the request started getting processed.
|
ImportRequest.Builder |
totalImportedObjectCount(Integer totalImportedObjectCount)
Number of objects that are imported.
|
public ImportRequest.Builder key(String key)
Import object request key
key
- the value to setpublic ImportRequest.Builder bucketName(String bucketName)
The name of the Object Storage Bucket where the objects will be imported from
bucketName
- the value to setpublic ImportRequest.Builder fileName(String fileName)
Name of the zip file from which objects will be imported.
fileName
- the value to setpublic ImportRequest.Builder objectStorageTenancyId(String objectStorageTenancyId)
Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
objectStorageTenancyId
- the value to setpublic ImportRequest.Builder objectStorageRegion(String objectStorageRegion)
Region of the object storage (if using object storage of different region)
objectStorageRegion
- the value to setpublic ImportRequest.Builder objectKeyForImport(String objectKeyForImport)
Key of the object inside which all the objects will be imported
objectKeyForImport
- the value to setpublic ImportRequest.Builder areDataAssetReferencesIncluded(Boolean areDataAssetReferencesIncluded)
This field controls if the data asset references will be included during import.
areDataAssetReferencesIncluded
- the value to setpublic ImportRequest.Builder importConflictResolution(ImportConflictResolution importConflictResolution)
public ImportRequest.Builder status(ImportRequest.Status status)
Import Objects request status.
status
- the value to setpublic ImportRequest.Builder createdBy(String createdBy)
Name of the user who initiated import request.
createdBy
- the value to setpublic ImportRequest.Builder totalImportedObjectCount(Integer totalImportedObjectCount)
Number of objects that are imported.
totalImportedObjectCount
- the value to setpublic ImportRequest.Builder timeStartedInMillis(Long timeStartedInMillis)
Time at which the request started getting processed.
timeStartedInMillis
- the value to setpublic ImportRequest.Builder timeEndedInMillis(Long timeEndedInMillis)
Time at which the request was completely processed.
timeEndedInMillis
- the value to setpublic ImportRequest.Builder errorMessages(Map<String,String> errorMessages)
Contains key of the error
errorMessages
- the value to setpublic ImportRequest.Builder importedObjects(List<ImportObjectMetadataSummary> importedObjects)
The array of imported object details.
importedObjects
- the value to setpublic ImportRequest.Builder name(String name)
Name of the import request.
name
- the value to setpublic ImportRequest build()
public ImportRequest.Builder copy(ImportRequest model)
Copyright © 2016–2024. All rights reserved.