Package com.vmware.nsx_policy.model
Class IPsecVPNIKESessionSummary.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IPsecVPNIKESessionSummary.Builder
-
- Enclosing class:
- IPsecVPNIKESessionSummary
public static final class IPsecVPNIKESessionSummary.Builder extends java.lang.ObjectBuilder class forIPsecVPNIKESessionSummary.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofIPsecVPNIKESessionSummary.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPsecVPNIKESessionSummarybuild()IPsecVPNIKESessionSummary.BuildersetDegradedSessions(java.lang.Long degradedSessions)Number of degraded sessions.IPsecVPNIKESessionSummary.BuildersetEstablishedSessions(java.lang.Long establishedSessions)Number of established sessions.IPsecVPNIKESessionSummary.BuildersetFailedSessions(java.lang.Long failedSessions)Number of failed sessions.IPsecVPNIKESessionSummary.BuildersetTotalSessions(java.lang.Long totalSessions)Total sessions configured.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIPsecVPNIKESessionSummary.
-
-
Method Detail
-
setDegradedSessions
public IPsecVPNIKESessionSummary.Builder setDegradedSessions(java.lang.Long degradedSessions)
Number of degraded sessions. 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:
degradedSessions- New value for the property.
-
setEstablishedSessions
public IPsecVPNIKESessionSummary.Builder setEstablishedSessions(java.lang.Long establishedSessions)
Number of established sessions. 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:
establishedSessions- New value for the property.
-
setFailedSessions
public IPsecVPNIKESessionSummary.Builder setFailedSessions(java.lang.Long failedSessions)
Number of failed sessions. 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:
failedSessions- New value for the property.
-
setTotalSessions
public IPsecVPNIKESessionSummary.Builder setTotalSessions(java.lang.Long totalSessions)
Total sessions configured. 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:
totalSessions- New value for the property.
-
build
public IPsecVPNIKESessionSummary build()
-
-