public static final class ALGTypeNSService.Builder
extends java.lang.Object
ALGTypeNSService
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ALGTypeNSService . |
Modifier and Type | Method and Description |
---|---|
ALGTypeNSService |
build() |
ALGTypeNSService.Builder |
setAlg(java.lang.String alg)
Possible values are:
ALGTypeNSService.ALG_ORACLE_TNS ALGTypeNSService.ALG_FTP ALGTypeNSService.ALG_SUN_RPC_TCP ALGTypeNSService.ALG_SUN_RPC_UDP ALGTypeNSService.ALG_MS_RPC_TCP ALGTypeNSService.ALG_MS_RPC_UDP ALGTypeNSService.ALG_NBNS_BROADCAST ALGTypeNSService.ALG_NBDG_BROADCAST ALGTypeNSService.ALG_TFTP The Application Layer
Gateway (ALG) protocol. |
ALGTypeNSService.Builder |
setDestinationPorts(java.util.List<java.lang.String> destinationPorts)
The destination_port cannot be empty and must be a single value.
|
ALGTypeNSService.Builder |
setSourcePorts(java.util.List<java.lang.String> sourcePorts)
Source ports format: port-or-range
|
public Builder()
ALGTypeNSService
.public ALGTypeNSService.Builder setAlg(java.lang.String alg)
alg
- New value for the property.public ALGTypeNSService.Builder setDestinationPorts(java.util.List<java.lang.String> destinationPorts)
destinationPorts
- New value for the property.public ALGTypeNSService.Builder setSourcePorts(java.util.List<java.lang.String> sourcePorts)
sourcePorts
- New value for the property.public ALGTypeNSService build()