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