public static final class PolicyCountObservation.Builder
extends java.lang.Object
PolicyCountObservation
.Constructor and Description |
---|
Builder(java.lang.String resourceType)
Constructor with parameters for the required properties of
PolicyCountObservation . |
Modifier and Type | Method and Description |
---|---|
PolicyCountObservation |
build() |
PolicyCountObservation.Builder |
setCheckpoints(CheckpointCounterResult checkpoints) |
PolicyCountObservation.Builder |
setLogicalPortPath(java.lang.String logicalPortPath)
The path of segment port or router port where the counter observation is
populated
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyCountObservation.Builder |
setPortId(java.lang.String portId)
The port identifier in UUID format.
|
PolicyCountObservation.Builder |
setPortName(java.lang.String portName)
The port name for a port.
|
PolicyCountObservation.Builder |
setTransportNodeId(java.lang.String transportNodeId)
This field tells which transport node the checkpoints are reported from.
|
public Builder(java.lang.String resourceType)
PolicyCountObservation
.public PolicyCountObservation.Builder setLogicalPortPath(java.lang.String logicalPortPath)
logicalPortPath
- New value for the property.public PolicyCountObservation.Builder setCheckpoints(CheckpointCounterResult checkpoints)
checkpoints
- New value for the property.public PolicyCountObservation.Builder setPortId(java.lang.String portId)
portId
- New value for the property.public PolicyCountObservation.Builder setPortName(java.lang.String portName)
portName
- New value for the property.public PolicyCountObservation.Builder setTransportNodeId(java.lang.String transportNodeId)
transportNodeId
- New value for the property.public PolicyCountObservation build()