Package com.vmware.nsx_policy.model
Class GreTunnelTrafficStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.GreTunnelTrafficStatistics.Builder
-
- Enclosing class:
- GreTunnelTrafficStatistics
public static final class GreTunnelTrafficStatistics.Builder extends java.lang.Object
Builder class forGreTunnelTrafficStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofGreTunnelTrafficStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GreTunnelTrafficStatistics
build()
GreTunnelTrafficStatistics.Builder
setDestination(java.lang.String destination)
GreTunnelTrafficStatistics - Resource type as GreTunnelTrafficStatistics will be used to populate P2P GRE Tunnel traffic statistics format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.GreTunnelTrafficStatistics.Builder
setPerEdgeNodeStatistics(java.util.List<TunnelPortStatisticsPerNode> perEdgeNodeStatistics)
Set of Tunnel statistics per edge node This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofGreTunnelTrafficStatistics
.
-
-
Method Detail
-
setDestination
public GreTunnelTrafficStatistics.Builder setDestination(java.lang.String destination)
GreTunnelTrafficStatistics - Resource type as GreTunnelTrafficStatistics will be used to populate P2P GRE Tunnel traffic statistics format: ip 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:
destination
- New value for the property.
-
setPerEdgeNodeStatistics
public GreTunnelTrafficStatistics.Builder setPerEdgeNodeStatistics(java.util.List<TunnelPortStatisticsPerNode> perEdgeNodeStatistics)
Set of Tunnel statistics per edge node 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:
perEdgeNodeStatistics
- New value for the property.
-
build
public GreTunnelTrafficStatistics build()
-
-