CreateKafkaBootstrapServer¶
- class oci.golden_gate.models.CreateKafkaBootstrapServer(**kwargs)¶
Bases:
objectRepresents a Kafka bootstrap server with host name, optional port defaults to 9092.
Methods:
__init__(**kwargs)Initializes a new CreateKafkaBootstrapServer object with values from keyword arguments.
Attributes:
[Required] Gets the host of this CreateKafkaBootstrapServer.
Gets the port of this CreateKafkaBootstrapServer.
- __init__(**kwargs)¶
Initializes a new CreateKafkaBootstrapServer object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
host (str) – The value to assign to the host property of this CreateKafkaBootstrapServer.
port (int) – The value to assign to the port property of this CreateKafkaBootstrapServer.
- property host¶
[Required] Gets the host of this CreateKafkaBootstrapServer. The name or address of a host.
- Returns
The host of this CreateKafkaBootstrapServer.
- Return type
str
- property port¶
Gets the port of this CreateKafkaBootstrapServer. The port of an endpoint usually specified for a connection.
- Returns
The port of this CreateKafkaBootstrapServer.
- Return type
int