Package com.vmware.nsx_policy.model
Class PacketDebugStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PacketDebugStats.Builder
-
- Enclosing class:
- PacketDebugStats
public static final class PacketDebugStats.Builder extends java.lang.ObjectBuilder class forPacketDebugStats.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPacketDebugStats.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketDebugStatsbuild()PacketDebugStats.BuildersetDatapathL3(DataPathL3 datapathL3)PacketDebugStats.BuildersetDistributedFirewall(DistributedFirewall distributedFirewall)PacketDebugStats.BuildersetFastpath(Fastpath fastpath)PacketDebugStats.BuildersetLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)Timestamp when the data was last updated; unset if data source has never updated the data.PacketDebugStats.BuildersetOverlayDatapathL2(OverlayDataPathL2 overlayDatapathL2)PacketDebugStats.BuildersetSwitchSecurity(SwitchSecurity switchSecurity)PacketDebugStats.BuildersetVirtualSwitch(VirtualSwitchCounter virtualSwitch)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPacketDebugStats.
-
-
Method Detail
-
setDatapathL3
public PacketDebugStats.Builder setDatapathL3(DataPathL3 datapathL3)
- Parameters:
datapathL3- New value for the property.
-
setDistributedFirewall
public PacketDebugStats.Builder setDistributedFirewall(DistributedFirewall distributedFirewall)
- Parameters:
distributedFirewall- New value for the property.
-
setFastpath
public PacketDebugStats.Builder setFastpath(Fastpath fastpath)
- Parameters:
fastpath- New value for the property.
-
setLastUpdateTimestamp
public PacketDebugStats.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.
-
setOverlayDatapathL2
public PacketDebugStats.Builder setOverlayDatapathL2(OverlayDataPathL2 overlayDatapathL2)
- Parameters:
overlayDatapathL2- New value for the property.
-
setSwitchSecurity
public PacketDebugStats.Builder setSwitchSecurity(SwitchSecurity switchSecurity)
- Parameters:
switchSecurity- New value for the property.
-
setVirtualSwitch
public PacketDebugStats.Builder setVirtualSwitch(VirtualSwitchCounter virtualSwitch)
- Parameters:
virtualSwitch- New value for the property.
-
build
public PacketDebugStats build()
-
-