Package com.vmware.nsx_policy.model
Class PolicyCountObservation.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyCountObservation.Builder
-
- Enclosing class:
- PolicyCountObservation
public static final class PolicyCountObservation.Builder extends java.lang.Object
Builder class forPolicyCountObservation
.
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofPolicyCountObservation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
Builder
public Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofPolicyCountObservation
.
-
-
Method Detail
-
setLogicalPortPath
public 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.- Parameters:
logicalPortPath
- New value for the property.
-
setCheckpoints
public PolicyCountObservation.Builder setCheckpoints(CheckpointCounterResult checkpoints)
- Parameters:
checkpoints
- New value for the property.
-
setPortId
public PolicyCountObservation.Builder setPortId(java.lang.String portId)
The port identifier in UUID format. This field won't appear together with port_name. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
portId
- New value for the property.
-
setPortName
public PolicyCountObservation.Builder setPortName(java.lang.String portName)
The port name for a port. It applies to ports like the uplink port. This field won't appear together with port_id. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
portName
- New value for the property.
-
setTransportNodeId
public PolicyCountObservation.Builder setTransportNodeId(java.lang.String transportNodeId)
This field tells which transport node the checkpoints are reported from. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
transportNodeId
- New value for the property.
-
build
public PolicyCountObservation build()
-
-