public static class AsmConnectionString.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AsmConnectionString |
build() |
AsmConnectionString.Builder |
copy(AsmConnectionString model) |
AsmConnectionString.Builder |
hosts(List<String> hosts)
The list of host names of the ASM instances.
|
AsmConnectionString.Builder |
port(Integer port)
The port used to connect to the ASM instance.
|
AsmConnectionString.Builder |
protocol(AsmConnectionString.Protocol protocol)
The protocol used to connect to the ASM instance.
|
AsmConnectionString.Builder |
service(String service)
The service name of the ASM instance.
|
public AsmConnectionString.Builder hosts(List<String> hosts)
The list of host names of the ASM instances.
hosts
- the value to setpublic AsmConnectionString.Builder port(Integer port)
The port used to connect to the ASM instance.
port
- the value to setpublic AsmConnectionString.Builder service(String service)
The service name of the ASM instance.
service
- the value to setpublic AsmConnectionString.Builder protocol(AsmConnectionString.Protocol protocol)
The protocol used to connect to the ASM instance.
protocol
- the value to setpublic AsmConnectionString build()
public AsmConnectionString.Builder copy(AsmConnectionString model)
Copyright © 2016–2024. All rights reserved.