Package com.oracle.bmc.goldengate.model
Class KafkaBootstrapServer.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.KafkaBootstrapServer.Builder
-
- Enclosing class:
- KafkaBootstrapServer
public static class KafkaBootstrapServer.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
host
public KafkaBootstrapServer.Builder host(String host)
The name or address of a host.- Parameters:
host
- the value to set- Returns:
- this builder
-
port
public KafkaBootstrapServer.Builder port(Integer port)
The port of an endpoint usually specified for a connection.- Parameters:
port
- the value to set- Returns:
- this builder
-
privateIp
public 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.
- Parameters:
privateIp
- the value to set- Returns:
- this builder
-
build
public KafkaBootstrapServer build()
-
copy
public KafkaBootstrapServer.Builder copy(KafkaBootstrapServer model)
-
-