ExportOptions

class oci.mysql.models.ExportOptions(**kwargs)

Bases: object

The additional options used while exporting the DB system backup.

Attributes

DATA_FORMAT_CSV A constant which can be used with the data_format property of a ExportOptions.
DATA_FORMAT_TSV A constant which can be used with the data_format property of a ExportOptions.
compression_options Gets the compression_options of this ExportOptions.
data_format Gets the data_format of this ExportOptions.
folder_name Gets the folder_name of this ExportOptions.

Methods

__init__(**kwargs) Initializes a new ExportOptions object with values from keyword arguments.
DATA_FORMAT_CSV = 'CSV'

A constant which can be used with the data_format property of a ExportOptions. This constant has a value of “CSV”

DATA_FORMAT_TSV = 'TSV'

A constant which can be used with the data_format property of a ExportOptions. This constant has a value of “TSV”

__init__(**kwargs)

Initializes a new ExportOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compression_options (oci.mysql.models.CompressionOptions) – The value to assign to the compression_options property of this ExportOptions.
  • data_format (str) – The value to assign to the data_format property of this ExportOptions. Allowed values for this property are: “CSV”, “TSV”
  • folder_name (str) – The value to assign to the folder_name property of this ExportOptions.
compression_options

Gets the compression_options of this ExportOptions.

Returns:The compression_options of this ExportOptions.
Return type:oci.mysql.models.CompressionOptions
data_format

Gets the data_format of this ExportOptions. The format used for storing data.

Allowed values for this property are: “CSV”, “TSV”

Returns:The data_format of this ExportOptions.
Return type:str
folder_name

Gets the folder_name of this ExportOptions. The name of the folder in the Object Storage bucket where the dump files will be stored. A folder with the same name must not exist in the bucket. The folder will be created in the export process.

Returns:The folder_name of this ExportOptions.
Return type:str