Class PortRange.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.PortRange.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PortRangebuild()PortRange.Buildercopy(PortRange model)PortRange.Buildermax(Integer max)The maximum port number, which must not be less than the minimum port number.PortRange.Buildermin(Integer min)The minimum port number, which must not be greater than the maximum port number.
 
- 
- 
- 
Method Detail- 
maxpublic PortRange.Builder max(Integer max) The maximum port number, which must not be less than the minimum port number.To specify a single port number, set both the min and max to the same value. - Parameters:
- max- the value to set
- Returns:
- this builder
 
 - 
minpublic PortRange.Builder min(Integer min) The minimum port number, which must not be greater than the maximum port number.- Parameters:
- min- the value to set
- Returns:
- this builder
 
 - 
buildpublic PortRange build() 
 - 
copypublic PortRange.Builder copy(PortRange model) 
 
- 
 
-