public static class KafkaBootstrapServer.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KafkaBootstrapServer |
build() |
KafkaBootstrapServer.Builder |
copy(KafkaBootstrapServer model) |
KafkaBootstrapServer.Builder |
host(String host)
The name or address of a host.
|
KafkaBootstrapServer.Builder |
port(Integer port)
The port of an endpoint usually specified for a connection.
|
KafkaBootstrapServer.Builder |
privateIp(String privateIp)
Deprecated: this field will be removed in future versions.
|
public KafkaBootstrapServer.Builder host(String host)
The name or address of a host.
host
- the value to setpublic KafkaBootstrapServer.Builder port(Integer port)
The port of an endpoint usually specified for a connection.
port
- the value to setpublic KafkaBootstrapServer.Builder privateIp(String privateIp)
Deprecated: this field will be removed in future versions. Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN.
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.
privateIp
- the value to setpublic KafkaBootstrapServer build()
public KafkaBootstrapServer.Builder copy(KafkaBootstrapServer model)
Copyright © 2016–2024. All rights reserved.