@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class ImportRequest extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Import metadata object response.
Note: Objects should always be created or deserialized using the ImportRequest.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the ImportRequest.Builder
, which maintain a
set of all explicitly set fields called ImportRequest.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ImportRequest.Builder |
static class |
ImportRequest.Status
Import Objects request status.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ImportRequest(String key,
String bucketName,
String fileName,
String objectStorageTenancyId,
String objectStorageRegion,
String objectKeyForImport,
Boolean areDataAssetReferencesIncluded,
ImportConflictResolution importConflictResolution,
ImportRequest.Status status,
String createdBy,
Integer totalImportedObjectCount,
Long timeStartedInMillis,
Long timeEndedInMillis,
Map<String,String> errorMessages,
List<ImportObjectMetadataSummary> importedObjects,
String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ImportRequest.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getAreDataAssetReferencesIncluded()
This field controls if the data asset references will be included during import.
|
String |
getBucketName()
The name of the Object Storage Bucket where the objects will be imported from
|
String |
getCreatedBy()
Name of the user who initiated import request.
|
Map<String,String> |
getErrorMessages()
Contains key of the error
|
String |
getFileName()
Name of the zip file from which objects will be imported.
|
ImportConflictResolution |
getImportConflictResolution() |
List<ImportObjectMetadataSummary> |
getImportedObjects()
The array of imported object details.
|
String |
getKey()
Import object request key
|
String |
getName()
Name of the import request.
|
String |
getObjectKeyForImport()
Key of the object inside which all the objects will be imported
|
String |
getObjectStorageRegion()
Region of the object storage (if using object storage of different region)
|
String |
getObjectStorageTenancyId()
Optional parameter to point to object storage tenancy (if using Object Storage of different
tenancy)
|
ImportRequest.Status |
getStatus()
Import Objects request status.
|
Long |
getTimeEndedInMillis()
Time at which the request was completely processed.
|
Long |
getTimeStartedInMillis()
Time at which the request started getting processed.
|
Integer |
getTotalImportedObjectCount()
Number of objects that are imported.
|
int |
hashCode() |
ImportRequest.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","bucketName","fileName","objectStorageTenancyId","objectStorageRegion","objectKeyForImport","areDataAssetReferencesIncluded","importConflictResolution","status","createdBy","totalImportedObjectCount","timeStartedInMillis","timeEndedInMillis","errorMessages","importedObjects","name"}) public ImportRequest(String key, String bucketName, String fileName, String objectStorageTenancyId, String objectStorageRegion, String objectKeyForImport, Boolean areDataAssetReferencesIncluded, ImportConflictResolution importConflictResolution, ImportRequest.Status status, String createdBy, Integer totalImportedObjectCount, Long timeStartedInMillis, Long timeEndedInMillis, Map<String,String> errorMessages, List<ImportObjectMetadataSummary> importedObjects, String name)
public static ImportRequest.Builder builder()
Create a new builder.
public ImportRequest.Builder toBuilder()
public String getKey()
Import object request key
public String getBucketName()
The name of the Object Storage Bucket where the objects will be imported from
public String getFileName()
Name of the zip file from which objects will be imported.
public String getObjectStorageTenancyId()
Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
public String getObjectStorageRegion()
Region of the object storage (if using object storage of different region)
public String getObjectKeyForImport()
Key of the object inside which all the objects will be imported
public Boolean getAreDataAssetReferencesIncluded()
This field controls if the data asset references will be included during import.
public ImportConflictResolution getImportConflictResolution()
public ImportRequest.Status getStatus()
Import Objects request status.
public String getCreatedBy()
Name of the user who initiated import request.
public Integer getTotalImportedObjectCount()
Number of objects that are imported.
public Long getTimeStartedInMillis()
Time at which the request started getting processed.
public Long getTimeEndedInMillis()
Time at which the request was completely processed.
public Map<String,String> getErrorMessages()
Contains key of the error
public List<ImportObjectMetadataSummary> getImportedObjects()
The array of imported object details.
public String getName()
Name of the import request.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.