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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaBootstrapServerbuild()KafkaBootstrapServer.Buildercopy(KafkaBootstrapServer model)KafkaBootstrapServer.Builderhost(String host)The name or address of a host.KafkaBootstrapServer.Builderport(Integer port)The port of an endpoint usually specified for a connection.KafkaBootstrapServer.BuilderprivateIp(String privateIp)Deprecated: this field will be removed in future versions.
 
- 
- 
- 
Method Detail- 
hostpublic KafkaBootstrapServer.Builder host(String host) The name or address of a host.- Parameters:
- host- the value to set
- Returns:
- this builder
 
 - 
portpublic KafkaBootstrapServer.Builder port(Integer port) The port of an endpoint usually specified for a connection.- Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
privateIppublic 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
 
 - 
buildpublic KafkaBootstrapServer build() 
 - 
copypublic KafkaBootstrapServer.Builder copy(KafkaBootstrapServer model) 
 
- 
 
-