Package com.vmware.nsx_policy.model
Class PlatformPacketStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PlatformPacketStats.Builder
-
- Enclosing class:
- PlatformPacketStats
public static final class PlatformPacketStats.Builder extends java.lang.ObjectBuilder class forPlatformPacketStats.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPlatformPacketStats.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformPacketStatsbuild()PlatformPacketStats.BuildersetHostUplink(HostUplink hostUplink)PlatformPacketStats.BuildersetHostVnic(HostVnic hostVnic)PlatformPacketStats.BuildersetLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)Timestamp when the data was last updated; unset if data source has never updated the data.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPlatformPacketStats.
-
-
Method Detail
-
setHostUplink
public PlatformPacketStats.Builder setHostUplink(HostUplink hostUplink)
- Parameters:
hostUplink- New value for the property.
-
setHostVnic
public PlatformPacketStats.Builder setHostVnic(HostVnic hostVnic)
- Parameters:
hostVnic- New value for the property.
-
setLastUpdateTimestamp
public PlatformPacketStats.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.
-
build
public PlatformPacketStats build()
-
-