Class PortRange.Builder
- java.lang.Object
-
- com.oracle.bmc.networkfirewall.model.PortRange.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortRange
build()
PortRange.Builder
copy(PortRange model)
PortRange.Builder
maximumPort(Integer maximumPort)
The maximum port in the range (inclusive), which may be absent for a single-port range.PortRange.Builder
minimumPort(Integer minimumPort)
The minimum port in the range (inclusive), or the sole port of a single-port range.
-
-
-
Method Detail
-
minimumPort
public PortRange.Builder minimumPort(Integer minimumPort)
The minimum port in the range (inclusive), or the sole port of a single-port range.- Parameters:
minimumPort
- the value to set- Returns:
- this builder
-
maximumPort
public PortRange.Builder maximumPort(Integer maximumPort)
The maximum port in the range (inclusive), which may be absent for a single-port range.- Parameters:
maximumPort
- the value to set- Returns:
- this builder
-
build
public PortRange build()
-
copy
public PortRange.Builder copy(PortRange model)
-
-