CreateArchiverDetails

class oci.streaming.models.CreateArchiverDetails(**kwargs)

Bases: object

Represents the parameters of the stream archiver.

START_POSITION_LATEST = 'LATEST'

A constant which can be used with the start_position property of a CreateArchiverDetails. This constant has a value of "LATEST"

START_POSITION_TRIM_HORIZON = 'TRIM_HORIZON'

A constant which can be used with the start_position property of a CreateArchiverDetails. This constant has a value of "TRIM_HORIZON"

__init__(**kwargs)

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

Parameters:
  • bucket_name (str) -- The value to assign to the bucket_name property of this CreateArchiverDetails.
  • use_existing_bucket (bool) -- The value to assign to the use_existing_bucket property of this CreateArchiverDetails.
  • start_position (str) -- The value to assign to the start_position property of this CreateArchiverDetails. Allowed values for this property are: "LATEST", "TRIM_HORIZON"
  • batch_rollover_size_in_mbs (int) -- The value to assign to the batch_rollover_size_in_mbs property of this CreateArchiverDetails.
  • batch_rollover_time_in_seconds (int) -- The value to assign to the batch_rollover_time_in_seconds property of this CreateArchiverDetails.
batch_rollover_size_in_mbs

[Required] Gets the batch_rollover_size_in_mbs of this CreateArchiverDetails. The batch rollover size in megabytes.

Returns:The batch_rollover_size_in_mbs of this CreateArchiverDetails.
Return type:int
batch_rollover_time_in_seconds

[Required] Gets the batch_rollover_time_in_seconds of this CreateArchiverDetails. The rollover time in seconds.

Returns:The batch_rollover_time_in_seconds of this CreateArchiverDetails.
Return type:int
bucket_name

[Required] Gets the bucket_name of this CreateArchiverDetails. The name of the bucket.

Returns:The bucket_name of this CreateArchiverDetails.
Return type:str
start_position

[Required] Gets the start_position of this CreateArchiverDetails. The start message.

Allowed values for this property are: "LATEST", "TRIM_HORIZON"

Returns:The start_position of this CreateArchiverDetails.
Return type:str
use_existing_bucket

[Required] Gets the use_existing_bucket of this CreateArchiverDetails. The flag to create a new bucket or use existing one.

Returns:The use_existing_bucket of this CreateArchiverDetails.
Return type:bool