Package com.vmware.nsx_policy.model
Class PolicyInterfaceStatisticsSummary.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyInterfaceStatisticsSummary.Builder
-
- Enclosing class:
- PolicyInterfaceStatisticsSummary
public static final class PolicyInterfaceStatisticsSummary.Builder extends java.lang.Object
Builder class forPolicyInterfaceStatisticsSummary
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyInterfaceStatisticsSummary
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyInterfaceStatisticsSummary
build()
PolicyInterfaceStatisticsSummary.Builder
setInterfacePolicyPath(java.lang.String interfacePolicyPath)
Policy path for the interfacePolicyInterfaceStatisticsSummary.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data.PolicyInterfaceStatisticsSummary.Builder
setLogicalRouterPortId(java.lang.String logicalRouterPortId)
The ID of the logical router portPolicyInterfaceStatisticsSummary.Builder
setRx(LogicalRouterPortCounters rx)
PolicyInterfaceStatisticsSummary.Builder
setTx(LogicalRouterPortCounters tx)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyInterfaceStatisticsSummary
.
-
-
Method Detail
-
setLastUpdateTimestamp
public PolicyInterfaceStatisticsSummary.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data. format: int64 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:
lastUpdateTimestamp
- New value for the property.
-
setRx
public PolicyInterfaceStatisticsSummary.Builder setRx(LogicalRouterPortCounters rx)
- Parameters:
rx
- New value for the property.
-
setTx
public PolicyInterfaceStatisticsSummary.Builder setTx(LogicalRouterPortCounters tx)
- Parameters:
tx
- New value for the property.
-
setLogicalRouterPortId
public PolicyInterfaceStatisticsSummary.Builder setLogicalRouterPortId(java.lang.String logicalRouterPortId)
The ID of the logical router port- Parameters:
logicalRouterPortId
- New value for the property.
-
setInterfacePolicyPath
public PolicyInterfaceStatisticsSummary.Builder setInterfacePolicyPath(java.lang.String interfacePolicyPath)
Policy path for the interface- Parameters:
interfacePolicyPath
- New value for the property.
-
build
public PolicyInterfaceStatisticsSummary build()
-
-