Package com.vmware.nsx_policy.model
Class SubnetStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SubnetStatistics.Builder
-
- Enclosing class:
- SubnetStatistics
public static final class SubnetStatistics.Builder extends java.lang.ObjectBuilder class forSubnetStatistics.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofSubnetStatistics.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSubnetStatistics.
-
-
Method Detail
-
setRxBytes
public SubnetStatistics.Builder setRxBytes(DataCounter rxBytes)
- Parameters:
rxBytes- New value for the property.
-
setRxPackets
public SubnetStatistics.Builder setRxPackets(DataCounter rxPackets)
- Parameters:
rxPackets- New value for the property.
-
setTxBytes
public SubnetStatistics.Builder setTxBytes(DataCounter txBytes)
- Parameters:
txBytes- New value for the property.
-
setTxPackets
public SubnetStatistics.Builder setTxPackets(DataCounter txPackets)
- Parameters:
txPackets- New value for the property.
-
setDroppedByFirewallPackets
public SubnetStatistics.Builder setDroppedByFirewallPackets(DfwDropCounters droppedByFirewallPackets)
- Parameters:
droppedByFirewallPackets- New value for the property.
-
setDroppedBySecurityPackets
public SubnetStatistics.Builder setDroppedBySecurityPackets(PacketsDroppedBySecurity droppedBySecurityPackets)
- Parameters:
droppedBySecurityPackets- New value for the property.
-
setMacLearning
public SubnetStatistics.Builder setMacLearning(MacLearningCounters macLearning)
- Parameters:
macLearning- New value for the property.
-
setLastUpdateTimestamp
public SubnetStatistics.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.
-
setLogicalSwitchId
public SubnetStatistics.Builder setLogicalSwitchId(java.lang.String logicalSwitchId)
The id of the logical Switch 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:
logicalSwitchId- New value for the property.
-
setNsxtFp
public SubnetStatistics.Builder setNsxtFp(FpCounters nsxtFp)
- Parameters:
nsxtFp- New value for the property.
-
setNsxtSwsec
public SubnetStatistics.Builder setNsxtSwsec(SwsecCounters nsxtSwsec)
- Parameters:
nsxtSwsec- New value for the property.
-
setNsxtVdl2
public SubnetStatistics.Builder setNsxtVdl2(Vdl2Counters nsxtVdl2)
- Parameters:
nsxtVdl2- New value for the property.
-
setNsxtVdrb
public SubnetStatistics.Builder setNsxtVdrb(VdrbCounters nsxtVdrb)
- Parameters:
nsxtVdrb- New value for the property.
-
setNsxtVsip
public SubnetStatistics.Builder setNsxtVsip(VsipCounters nsxtVsip)
- Parameters:
nsxtVsip- New value for the property.
-
setNsxtVswitch
public SubnetStatistics.Builder setNsxtVswitch(VswitchCounters nsxtVswitch)
- Parameters:
nsxtVswitch- New value for the property.
-
build
public SubnetStatistics build()
-
-