Package com.vmware.nsx_policy.model
Class TraceflowObservationIpsecVpn.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TraceflowObservationIpsecVpn.Builder
-
- Enclosing class:
- TraceflowObservationIpsecVpn
public static final class TraceflowObservationIpsecVpn.Builder extends java.lang.Object
Builder class forTraceflowObservationIpsecVpn
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTraceflowObservationIpsecVpn
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TraceflowObservationIpsecVpn
build()
TraceflowObservationIpsecVpn.Builder
setInnerDstIp(java.lang.String innerDstIp)
Inner destination IP Address.TraceflowObservationIpsecVpn.Builder
setInnerSrcIp(java.lang.String innerSrcIp)
Inner source IP Address.TraceflowObservationIpsecVpn.Builder
setLocalIp(java.lang.String localIp)
Local VPN endpoint IP Address.TraceflowObservationIpsecVpn.Builder
setPolicyId(java.lang.String policyId)
IPSec tunnel interface universally unique identifier in case of Policy-based IPSec VPN.TraceflowObservationIpsecVpn.Builder
setRemoteIp(java.lang.String remoteIp)
Peer VPN endpoint IP Address.TraceflowObservationIpsecVpn.Builder
setSessionId(java.lang.String sessionId)
IPSec VPN session universally unique identifier.TraceflowObservationIpsecVpn.Builder
setSpi(java.lang.Long spi)
Security Parameter Index is used to uniquely identify a particular IPSec Security Association.TraceflowObservationIpsecVpn.Builder
setVtiId(java.lang.String vtiId)
Virtual tunnel interface universally unique identifier in case of Route-based IPSec VPN.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTraceflowObservationIpsecVpn
.
-
-
Method Detail
-
setInnerDstIp
public TraceflowObservationIpsecVpn.Builder setInnerDstIp(java.lang.String innerDstIp)
Inner destination IP Address. 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:
innerDstIp
- New value for the property.
-
setInnerSrcIp
public TraceflowObservationIpsecVpn.Builder setInnerSrcIp(java.lang.String innerSrcIp)
Inner source IP Address. 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:
innerSrcIp
- New value for the property.
-
setLocalIp
public TraceflowObservationIpsecVpn.Builder setLocalIp(java.lang.String localIp)
Local VPN endpoint IP Address. 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:
localIp
- New value for the property.
-
setPolicyId
public TraceflowObservationIpsecVpn.Builder setPolicyId(java.lang.String policyId)
IPSec tunnel interface universally unique identifier in case of Policy-based IPSec VPN. 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:
policyId
- New value for the property.
-
setRemoteIp
public TraceflowObservationIpsecVpn.Builder setRemoteIp(java.lang.String remoteIp)
Peer VPN endpoint IP Address. 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:
remoteIp
- New value for the property.
-
setSessionId
public TraceflowObservationIpsecVpn.Builder setSessionId(java.lang.String sessionId)
IPSec VPN session universally unique identifier. 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:
sessionId
- New value for the property.
-
setSpi
public TraceflowObservationIpsecVpn.Builder setSpi(java.lang.Long spi)
Security Parameter Index is used to uniquely identify a particular IPSec Security Association. 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:
spi
- New value for the property.
-
setVtiId
public TraceflowObservationIpsecVpn.Builder setVtiId(java.lang.String vtiId)
Virtual tunnel interface universally unique identifier in case of Route-based IPSec VPN. 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:
vtiId
- New value for the property.
-
build
public TraceflowObservationIpsecVpn build()
-
-