@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class CreateExportRequestDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of export request. Export is supported using three ways. First, when objectKeys are
provided, export of those objects take place. Second, when filter are provided, all the objects
based on the filter provided are exported. Third, when neither objectKeys nor filters are
provided, we export all the design objects for the workspace.
Note: Objects should always be created or deserialized using the CreateExportRequestDetails.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 CreateExportRequestDetails.Builder
, which maintain a
set of all explicitly set fields called CreateExportRequestDetails.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 |
CreateExportRequestDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateExportRequestDetails(String bucketName,
String fileName,
String objectStorageTenancyId,
String objectStorageRegion,
Boolean isObjectOverwriteEnabled,
List<String> objectKeys,
Boolean areReferencesIncluded,
List<String> filters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateExportRequestDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getAreReferencesIncluded()
This field controls if the references will be exported along with the objects
|
String |
getBucketName()
Name of the Object Storage bucket where the object will be exported.
|
String |
getFileName()
Name of the exported zip file.
|
List<String> |
getFilters()
Filters for exported objects
|
Boolean |
getIsObjectOverwriteEnabled()
Flag to control whether to overwrite the object if it is already present at the provided
object storage location.
|
List<String> |
getObjectKeys()
Field is used to specify which object keys to export
|
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)
|
int |
hashCode() |
CreateExportRequestDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"bucketName","fileName","objectStorageTenancyId","objectStorageRegion","isObjectOverwriteEnabled","objectKeys","areReferencesIncluded","filters"}) public CreateExportRequestDetails(String bucketName, String fileName, String objectStorageTenancyId, String objectStorageRegion, Boolean isObjectOverwriteEnabled, List<String> objectKeys, Boolean areReferencesIncluded, List<String> filters)
public static CreateExportRequestDetails.Builder builder()
Create a new builder.
public CreateExportRequestDetails.Builder toBuilder()
public String getBucketName()
Name of the Object Storage bucket where the object will be exported.
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 getIsObjectOverwriteEnabled()
Flag to control whether to overwrite the object if it is already present at the provided object storage location.
public List<String> getObjectKeys()
Field is used to specify which object keys to export
public Boolean getAreReferencesIncluded()
This field controls if the references will be exported along with the objects
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.