LatestStreamingCursor¶
-
class
oci.sch.models.
LatestStreamingCursor
(**kwargs)¶ Bases:
oci.sch.models.streaming_cursor_details.StreamingCursorDetails
LATEST cursor type. Starts reading messages published after creating the connector. For configuration instructions, see Creating a Connector with a Streaming Source.
Attributes
KIND_LATEST
str(object=’’) -> str KIND_TRIM_HORIZON
str(object=’’) -> str kind
[Required] Gets the kind of this StreamingCursorDetails. Methods
__init__
(**kwargs)Initializes a new LatestStreamingCursor 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_LATEST
= 'LATEST'¶
-
KIND_TRIM_HORIZON
= 'TRIM_HORIZON'¶
-
__init__
(**kwargs)¶ Initializes a new LatestStreamingCursor object with values from keyword arguments. The default value of the
kind
attribute of this class isLATEST
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 LatestStreamingCursor. Allowed values for this property are: “LATEST”, “TRIM_HORIZON”
-
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 StreamingCursorDetails. The type discriminator.
Allowed values for this property are: “LATEST”, “TRIM_HORIZON”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The kind of this StreamingCursorDetails. Return type: str
-