Package com.vmware.nsx_policy.model
Class PolicyIpsecVpnIkeServiceSummary.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyIpsecVpnIkeServiceSummary.Builder
-
- Enclosing class:
- PolicyIpsecVpnIkeServiceSummary
public static final class PolicyIpsecVpnIkeServiceSummary.Builder extends java.lang.Object
Builder class forPolicyIpsecVpnIkeServiceSummary
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyIpsecVpnIkeServiceSummary
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyIpsecVpnIkeServiceSummary
build()
PolicyIpsecVpnIkeServiceSummary.Builder
setAggregateTrafficCounters(IPSecVPNTrafficCounters aggregateTrafficCounters)
PolicyIpsecVpnIkeServiceSummary.Builder
setDisplayName(java.lang.String displayName)
Display name of IPSec VPN service This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyIpsecVpnIkeServiceSummary.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the Primary site's enforcement point where the info is fetched.PolicyIpsecVpnIkeServiceSummary.Builder
setIpsecVpnServicePath(java.lang.String ipsecVpnServicePath)
Policy path of IPSec VPN service This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyIpsecVpnIkeServiceSummary.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated.PolicyIpsecVpnIkeServiceSummary.Builder
setSessionSummary(IPsecVPNIKESessionSummary sessionSummary)
PolicyIpsecVpnIkeServiceSummary.Builder
setTrafficSummaryPerSession(java.util.List<IPSecVPNSessionTrafficSummary> trafficSummaryPerSession)
Traffic summary per session.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyIpsecVpnIkeServiceSummary
.
-
-
Method Detail
-
setAggregateTrafficCounters
public PolicyIpsecVpnIkeServiceSummary.Builder setAggregateTrafficCounters(IPSecVPNTrafficCounters aggregateTrafficCounters)
- Parameters:
aggregateTrafficCounters
- New value for the property.
-
setLastUpdateTimestamp
public PolicyIpsecVpnIkeServiceSummary.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated. 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.
-
setSessionSummary
public PolicyIpsecVpnIkeServiceSummary.Builder setSessionSummary(IPsecVPNIKESessionSummary sessionSummary)
- Parameters:
sessionSummary
- New value for the property.
-
setTrafficSummaryPerSession
public PolicyIpsecVpnIkeServiceSummary.Builder setTrafficSummaryPerSession(java.util.List<IPSecVPNSessionTrafficSummary> trafficSummaryPerSession)
Traffic summary per session.- Parameters:
trafficSummaryPerSession
- New value for the property.
-
setDisplayName
public PolicyIpsecVpnIkeServiceSummary.Builder setDisplayName(java.lang.String displayName)
Display name of IPSec VPN service 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:
displayName
- New value for the property.
-
setEnforcementPointPath
public PolicyIpsecVpnIkeServiceSummary.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the Primary site's enforcement point where the info is fetched. This is applicable only on a GlobalManager. 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:
enforcementPointPath
- New value for the property.
-
setIpsecVpnServicePath
public PolicyIpsecVpnIkeServiceSummary.Builder setIpsecVpnServicePath(java.lang.String ipsecVpnServicePath)
Policy path of IPSec VPN service 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:
ipsecVpnServicePath
- New value for the property.
-
build
public PolicyIpsecVpnIkeServiceSummary build()
-
-