public static interface PortPair.Builder
| Modifier and Type | Method and Description |
|---|---|
PortPair |
build()
Builds a port pair object.
|
PortPair.Builder |
setDescription(String description)
Assigns the description to this object.
|
PortPair.Builder |
setEgress(String port)
Assigns the egress port to this object.
|
PortPair.Builder |
setId(PortPairId portPairId)
Assigns the port pair id to this object.
|
PortPair.Builder |
setIngress(String port)
Assigns the ingress port to this object.
|
PortPair.Builder |
setName(String name)
Assigns the name to this object.
|
PortPair.Builder |
setTenantId(TenantId tenantId)
Assigns tenant id to this object.
|
PortPair.Builder setId(PortPairId portPairId)
portPairId - the port pair idPortPair.Builder setTenantId(TenantId tenantId)
tenantId - tenant id of the port pairPortPair.Builder setName(String name)
name - name of the port pairPortPair.Builder setDescription(String description)
description - description of the port pairPortPair.Builder setIngress(String port)
port - ingress port of the port pairPortPair.Builder setEgress(String port)
port - egress port of the port pairPortPair build()