Class PortInformation.Builder
- java.lang.Object
-
- com.oracle.bmc.keymanagement.model.PortInformation.Builder
-
- Enclosing class:
- PortInformation
public static class PortInformation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortInformation
build()
PortInformation.Builder
copy(PortInformation model)
PortInformation.Builder
portNumber(Integer portNumber)
The port number is a unique identifier which is typically used as the loadbalancer listener.PortInformation.Builder
portType(PortInformation.PortType portType)
Port type associated for the port number.
-
-
-
Method Detail
-
portNumber
public PortInformation.Builder portNumber(Integer portNumber)
The port number is a unique identifier which is typically used as the loadbalancer listener.- Parameters:
portNumber
- the value to set- Returns:
- this builder
-
portType
public PortInformation.Builder portType(PortInformation.PortType portType)
Port type associated for the port number.The two port type enums are CLIENTUTILITY and MANAGEMENTUTILITY. The CLIENTUTILITY enum corresponds to a port which is used by the client daemon. The MANAGEMENTUTILITY enum corresponds to a port used by user management utility.
- Parameters:
portType
- the value to set- Returns:
- this builder
-
build
public PortInformation build()
-
copy
public PortInformation.Builder copy(PortInformation model)
-
-