ObjectStorageTargetDetails

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

Bases: oci.sch.models.target_details.TargetDetails

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

Attributes

KIND_FUNCTIONS str(object=’’) -> str
KIND_LOGGING_ANALYTICS str(object=’’) -> str
KIND_MONITORING str(object=’’) -> str
KIND_NOTIFICATIONS str(object=’’) -> str
KIND_OBJECT_STORAGE str(object=’’) -> str
KIND_STREAMING str(object=’’) -> str
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'
KIND_LOGGING_ANALYTICS = 'loggingAnalytics'
KIND_MONITORING = 'monitoring'
KIND_NOTIFICATIONS = 'notifications'
KIND_OBJECT_STORAGE = 'objectStorage'
KIND_STREAMING = '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.
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
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
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.

kind

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

Allowed values for this property are: “functions”, “loggingAnalytics”, “monitoring”, “notifications”, “objectStorage”, “streaming”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The kind of this TargetDetails.
Return type:str
namespace

Gets the namespace of this ObjectStorageTargetDetails. The namespace.

Returns:The namespace of this ObjectStorageTargetDetails.
Return type:str
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