Class AsmConnectionString.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.AsmConnectionString.Builder
-
- Enclosing class:
- AsmConnectionString
public static class AsmConnectionString.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsmConnectionStringbuild()AsmConnectionString.Buildercopy(AsmConnectionString model)AsmConnectionString.Builderhosts(List<String> hosts)The list of host names of the ASM instances.AsmConnectionString.Builderport(Integer port)The port used to connect to the ASM instance.AsmConnectionString.Builderprotocol(AsmConnectionString.Protocol protocol)The protocol used to connect to the ASM instance.AsmConnectionString.Builderservice(String service)The service name of the ASM instance.
-
-
-
Method Detail
-
hosts
public AsmConnectionString.Builder hosts(List<String> hosts)
The list of host names of the ASM instances.- Parameters:
hosts- the value to set- Returns:
- this builder
-
port
public AsmConnectionString.Builder port(Integer port)
The port used to connect to the ASM instance.- Parameters:
port- the value to set- Returns:
- this builder
-
service
public AsmConnectionString.Builder service(String service)
The service name of the ASM instance.- Parameters:
service- the value to set- Returns:
- this builder
-
protocol
public AsmConnectionString.Builder protocol(AsmConnectionString.Protocol protocol)
The protocol used to connect to the ASM instance.- Parameters:
protocol- the value to set- Returns:
- this builder
-
build
public AsmConnectionString build()
-
copy
public AsmConnectionString.Builder copy(AsmConnectionString model)
-
-