Package com.vmware.nsx_policy.model
Class IPSecVpnIkeSessionStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IPSecVpnIkeSessionStatus.Builder
-
- Enclosing class:
- IPSecVpnIkeSessionStatus
public static final class IPSecVpnIkeSessionStatus.Builder extends java.lang.Object
Builder class forIPSecVpnIkeSessionStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIPSecVpnIkeSessionStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPSecVpnIkeSessionStatus
build()
IPSecVpnIkeSessionStatus.Builder
setFailReason(java.lang.String failReason)
Reason for failure.IPSecVpnIkeSessionStatus.Builder
setIkeSessionState(java.lang.String ikeSessionState)
Possible values are:IPSecVpnIkeSessionStatus.IKE_SESSION_STATE_UP
IPSecVpnIkeSessionStatus.IKE_SESSION_STATE_DOWN
IPSecVpnIkeSessionStatus.IKE_SESSION_STATE_NEGOTIATING
Ike session service status UP, DOWN and NEGOTIATING.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIPSecVpnIkeSessionStatus
.
-
-
Method Detail
-
setFailReason
public IPSecVpnIkeSessionStatus.Builder setFailReason(java.lang.String failReason)
Reason for failure. 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:
failReason
- New value for the property.
-
setIkeSessionState
public IPSecVpnIkeSessionStatus.Builder setIkeSessionState(java.lang.String ikeSessionState)
Possible values are: Ike session service status UP, DOWN and NEGOTIATING. 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:
ikeSessionState
- New value for the property.
-
build
public IPSecVpnIkeSessionStatus build()
-
-