Google Cloud Oracle Database V1 Client - Class KafkaBootstrapServer (0.9.0)

Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class KafkaBootstrapServer.

Represents a Kafka bootstrap server with host name, optional port defaults to 9092, and an optional private ip.

Generated from protobuf message google.cloud.oracledatabase.v1.KafkaBootstrapServer

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ host string

Required. The name or address of a host.

↳ port int

Optional. The port of an endpoint usually specified for a connection.

↳ private_ip_address 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.

getHost

Required. The name or address of a host.

Returns
Type Description
string

setHost

Required. The name or address of a host.

Parameter
Name Description
var string
Returns
Type Description
$this

getPort

Optional. The port of an endpoint usually specified for a connection.

Returns
Type Description
int

setPort

Optional. The port of an endpoint usually specified for a connection.

Parameter
Name Description
var int
Returns
Type Description
$this

getPrivateIpAddress

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
Type Description
string

setPrivateIpAddress

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.

Parameter
Name Description
var string
Returns
Type Description
$this