ObjectStorageTargetDetails

class oci.sch.models.ObjectStorageTargetDetails(**kwargs)

Bases: TargetDetails

The destination bucket for data transferred from the source. For configuration instructions, see Creating a Connector.

Attributes:

KIND_FUNCTIONS

A constant which can be used with the kind property of a TargetDetails.

KIND_LOGGING_ANALYTICS

A constant which can be used with the kind property of a TargetDetails.

KIND_MONITORING

A constant which can be used with the kind property of a TargetDetails.

KIND_NOTIFICATIONS

A constant which can be used with the kind property of a TargetDetails.

KIND_OBJECT_STORAGE

A constant which can be used with the kind property of a TargetDetails.

KIND_STREAMING

A constant which can be used with the kind property of a TargetDetails.

batch_rollover_size_in_mbs

Gets the batch_rollover_size_in_mbs of this ObjectStorageTargetDetails.

batch_rollover_time_in_ms

Gets the batch_rollover_time_in_ms of this ObjectStorageTargetDetails.

bucket_name

[Required] Gets the bucket_name of this ObjectStorageTargetDetails.

kind

[Required] Gets the kind of this TargetDetails.

namespace

Gets the namespace of this ObjectStorageTargetDetails.

object_name_prefix

Gets the object_name_prefix of this ObjectStorageTargetDetails.

Methods:

__init__(**kwargs)

Initializes a new ObjectStorageTargetDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

KIND_FUNCTIONS = 'functions'

A constant which can be used with the kind property of a TargetDetails. This constant has a value of “functions”

KIND_LOGGING_ANALYTICS = 'loggingAnalytics'

A constant which can be used with the kind property of a TargetDetails. This constant has a value of “loggingAnalytics”

KIND_MONITORING = 'monitoring'

A constant which can be used with the kind property of a TargetDetails. This constant has a value of “monitoring”

KIND_NOTIFICATIONS = 'notifications'

A constant which can be used with the kind property of a TargetDetails. This constant has a value of “notifications”

KIND_OBJECT_STORAGE = 'objectStorage'

A constant which can be used with the kind property of a TargetDetails. This constant has a value of “objectStorage”

KIND_STREAMING = 'streaming'

A constant which can be used with the kind property of a TargetDetails. This constant has a value of “streaming”

__init__(**kwargs)

Initializes a new ObjectStorageTargetDetails object with values from keyword arguments. The default value of the kind attribute of this class is objectStorage and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • kind (str) – The value to assign to the kind property of this ObjectStorageTargetDetails. Allowed values for this property are: “functions”, “loggingAnalytics”, “monitoring”, “notifications”, “objectStorage”, “streaming”

  • namespace (str) – The value to assign to the namespace property of this ObjectStorageTargetDetails.

  • bucket_name (str) – The value to assign to the bucket_name property of this ObjectStorageTargetDetails.

  • object_name_prefix (str) – The value to assign to the object_name_prefix property of this ObjectStorageTargetDetails.

  • batch_rollover_size_in_mbs (int) – The value to assign to the batch_rollover_size_in_mbs property of this ObjectStorageTargetDetails.

  • batch_rollover_time_in_ms (int) – The value to assign to the batch_rollover_time_in_ms property of this ObjectStorageTargetDetails.

property batch_rollover_size_in_mbs

Gets the batch_rollover_size_in_mbs of this ObjectStorageTargetDetails. The batch rollover size in megabytes.

Returns

The batch_rollover_size_in_mbs of this ObjectStorageTargetDetails.

Return type

int

property batch_rollover_time_in_ms

Gets the batch_rollover_time_in_ms of this ObjectStorageTargetDetails. The batch rollover time in milliseconds.

Returns

The batch_rollover_time_in_ms of this ObjectStorageTargetDetails.

Return type

int

property bucket_name

[Required] Gets the bucket_name of this ObjectStorageTargetDetails. The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-), underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. Example: my-new-bucket1

Returns

The bucket_name of this ObjectStorageTargetDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property kind

[Required] Gets the kind of this TargetDetails. The type discriminator.

Allowed values for this property are: “functions”, “loggingAnalytics”, “monitoring”, “notifications”, “objectStorage”, “streaming”

Returns

The kind of this TargetDetails.

Return type

str

property namespace

Gets the namespace of this ObjectStorageTargetDetails. The namespace.

Returns

The namespace of this ObjectStorageTargetDetails.

Return type

str

property object_name_prefix

Gets the object_name_prefix of this ObjectStorageTargetDetails. The prefix of the objects. Avoid entering confidential information.

Returns

The object_name_prefix of this ObjectStorageTargetDetails.

Return type

str