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