Package com.vmware.nsx_policy.model
Class BaseCountObservation.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BaseCountObservation.Builder
-
- Enclosing class:
- BaseCountObservation
public static final class BaseCountObservation.Builder extends java.lang.Object
Builder class forBaseCountObservation
.
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofBaseCountObservation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseCountObservation
build()
BaseCountObservation.Builder
setCheckpoints(CheckpointCounterResult checkpoints)
BaseCountObservation.Builder
setPortId(java.lang.String portId)
The port identifier in UUID format.BaseCountObservation.Builder
setPortName(java.lang.String portName)
The port name for a port.BaseCountObservation.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 ofBaseCountObservation
.
-
-
Method Detail
-
setCheckpoints
public BaseCountObservation.Builder setCheckpoints(CheckpointCounterResult checkpoints)
- Parameters:
checkpoints
- New value for the property.
-
setPortId
public BaseCountObservation.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 BaseCountObservation.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 BaseCountObservation.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 BaseCountObservation build()
-
-