Reference documentation and code samples for the Oracle Database@Google Cloud V1 API class Google::Cloud::OracleDatabase::V1::KafkaBootstrapServer.
Represents a Kafka bootstrap server with host name, optional port defaults to 9092, and an optional private ip.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#host
def host() -> ::String
Returns
- (::String) — Required. The name or address of a host.
#host=
def host=(value) -> ::String
Parameter
- value (::String) — Required. The name or address of a host.
Returns
- (::String) — Required. The name or address of a host.
#port
def port() -> ::Integer
Returns
- (::Integer) — Optional. The port of an endpoint usually specified for a connection.
#port=
def port=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The port of an endpoint usually specified for a connection.
Returns
- (::Integer) — Optional. The port of an endpoint usually specified for a connection.
#private_ip_address
def private_ip_address() -> ::String
Returns
- (::String) — Optional. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
#private_ip_address=
def private_ip_address=(value) -> ::String
Parameter
- value (::String) — Optional. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
Returns
- (::String) — Optional. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.