public static final class L4PortSetNSService.Builder
extends java.lang.Object
L4PortSetNSService
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
L4PortSetNSService . |
Modifier and Type | Method and Description |
---|---|
L4PortSetNSService |
build() |
L4PortSetNSService.Builder |
setDestinationPorts(java.util.List<java.lang.String> destinationPorts)
Number of values should not exceed 15, ranges count as 2 values.
|
L4PortSetNSService.Builder |
setL4Protocol(java.lang.String l4Protocol)
Possible values are:
L4PortSetNSService.L4PROTOCOL_TCP L4PortSetNSService.L4PROTOCOL_UDP |
L4PortSetNSService.Builder |
setSourcePorts(java.util.List<java.lang.String> sourcePorts)
Number of values should not exceed 15, ranges count as 2 values.
|
public Builder()
L4PortSetNSService
.public L4PortSetNSService.Builder setDestinationPorts(java.util.List<java.lang.String> destinationPorts)
destinationPorts
- New value for the property.public L4PortSetNSService.Builder setL4Protocol(java.lang.String l4Protocol)
l4Protocol
- New value for the property.public L4PortSetNSService.Builder setSourcePorts(java.util.List<java.lang.String> sourcePorts)
sourcePorts
- New value for the property.public L4PortSetNSService build()