Class SiteOverride.Builder

  • Enclosing class:
    SiteOverride

    public static final class SiteOverride.Builder
    extends java.lang.Object
    Builder class for SiteOverride.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of SiteOverride.
    • Method Detail

      • setLocalEndpointPath

        public SiteOverride.Builder setLocalEndpointPath​(java.lang.String localEndpointPath)
        Policy path referencing Local endpoint.
        Parameters:
        localEndpointPath - New value for the property.
      • setLocaleServicePath

        public SiteOverride.Builder setLocaleServicePath​(java.lang.String localeServicePath)
        Policy path referencing LocateService where SiteOverride attributes will be applied
        Parameters:
        localeServicePath - New value for the property.
      • setPeerAddress

        public SiteOverride.Builder setPeerAddress​(java.lang.String peerAddress)
        Public IPV4 or IPV6 address of the remote device terminating the VPN connection. Please note that configuring peer_address as IPv6 address is not supported in the deprecated IPSecVpnSession Patch/PUT APIs. format: ip
        Parameters:
        peerAddress - New value for the property.
      • setPeerId

        public SiteOverride.Builder setPeerId​(java.lang.String peerId)
        Peer ID to uniquely identify the peer site. The peer ID is the public IP address of the remote device terminating the VPN tunnel. When NAT is configured for the peer, enter the private IP address of the peer.
        Parameters:
        peerId - New value for the property.
      • setTunnelInterfaces

        public SiteOverride.Builder setTunnelInterfaces​(java.util.List<IPSecVpnTunnelInterface> tunnelInterfaces)
        IP Tunnel interfaces. This property is mandatory for RouteBasedIpSecVpn session.
        Parameters:
        tunnelInterfaces - New value for the property.