@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class ExportRequest extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Export metadata object response.
Note: Objects should always be created or deserialized using the ExportRequest.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 ExportRequest.Builder
, which maintain a
set of all explicitly set fields called ExportRequest.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 |
ExportRequest.Builder |
static class |
ExportRequest.Status
Export Objects request status.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ExportRequest(String key,
List<String> objectKeys,
String bucketName,
String fileName,
String objectStorageTenancyId,
String objectStorageRegion,
Boolean areReferencesIncluded,
Boolean isObjectOverwriteEnabled,
List<String> filters,
ExportRequest.Status status,
String createdBy,
Integer totalExportedObjectCount,
Long timeStartedInMillis,
Long timeEndedInMillis,
Map<String,String> errorMessages,
List<ExportObjectMetadataSummary> exportedItems,
String referencedItems,
String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ExportRequest.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getAreReferencesIncluded()
Controls if the references will be exported along with the objects
|
String |
getBucketName()
The name of the Object Storage Bucket where the objects will be exported to
|
String |
getCreatedBy()
Name of the user who initiated export request.
|
Map<String,String> |
getErrorMessages()
Contains key of the error
|
List<ExportObjectMetadataSummary> |
getExportedItems()
The array of exported object details.
|
String |
getFileName()
Name of the exported zip file.
|
List<String> |
getFilters()
Export multiple objects based on filters.
|
Boolean |
getIsObjectOverwriteEnabled()
Flag to control whether to overwrite the object if it is already present at the provided
object storage location.
|
String |
getKey()
Export object request key
|
String |
getName()
Name of the export request.
|
List<String> |
getObjectKeys()
The list of the objects to be exported
|
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)
|
String |
getReferencedItems()
The array of exported referenced objects.
|
ExportRequest.Status |
getStatus()
Export Objects request status.
|
Long |
getTimeEndedInMillis()
Time at which the request was completely processed.
|
Long |
getTimeStartedInMillis()
Time at which the request started getting processed.
|
Integer |
getTotalExportedObjectCount()
Number of objects that are exported.
|
int |
hashCode() |
ExportRequest.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","objectKeys","bucketName","fileName","objectStorageTenancyId","objectStorageRegion","areReferencesIncluded","isObjectOverwriteEnabled","filters","status","createdBy","totalExportedObjectCount","timeStartedInMillis","timeEndedInMillis","errorMessages","exportedItems","referencedItems","name"}) public ExportRequest(String key, List<String> objectKeys, String bucketName, String fileName, String objectStorageTenancyId, String objectStorageRegion, Boolean areReferencesIncluded, Boolean isObjectOverwriteEnabled, List<String> filters, ExportRequest.Status status, String createdBy, Integer totalExportedObjectCount, Long timeStartedInMillis, Long timeEndedInMillis, Map<String,String> errorMessages, List<ExportObjectMetadataSummary> exportedItems, String referencedItems, String name)
public static ExportRequest.Builder builder()
Create a new builder.
public ExportRequest.Builder toBuilder()
public String getKey()
Export object request key
public List<String> getObjectKeys()
The list of the objects to be exported
public String getBucketName()
The name of the Object Storage Bucket where the objects will be exported to
public String getFileName()
Name of the exported zip file.
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 Boolean getAreReferencesIncluded()
Controls if the references will be exported along with the objects
public Boolean getIsObjectOverwriteEnabled()
Flag to control whether to overwrite the object if it is already present at the provided object storage location.
public List<String> getFilters()
Export multiple objects based on filters.
public ExportRequest.Status getStatus()
Export Objects request status.
public String getCreatedBy()
Name of the user who initiated export request.
public Integer getTotalExportedObjectCount()
Number of objects that are exported.
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<ExportObjectMetadataSummary> getExportedItems()
The array of exported object details.
public String getReferencedItems()
The array of exported referenced objects.
public String getName()
Name of the export 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.