LatestStreamingCursor¶
- class oci.sch.models.LatestStreamingCursor(**kwargs)¶
Bases:
StreamingCursorDetailsLATEST cursor type. Starts reading messages published after creating the connector. For configuration instructions, see Creating a Connector with a Streaming Source.
Attributes:
A constant which can be used with the kind property of a StreamingCursorDetails.
A constant which can be used with the kind property of a StreamingCursorDetails.
[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'¶
A constant which can be used with the kind property of a StreamingCursorDetails. This constant has a value of “LATEST”
- KIND_TRIM_HORIZON = 'TRIM_HORIZON'¶
A constant which can be used with the kind property of a StreamingCursorDetails. This constant has a value of “TRIM_HORIZON”
- __init__(**kwargs)¶
Initializes a new LatestStreamingCursor object with values from keyword arguments. The default value of the
kindattribute of this class isLATESTand 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.
- property 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