Class TunnelAddress.Builder

  • Enclosing class:
    TunnelAddress

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

      • Builder

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

      • setEdgePath

        public TunnelAddress.Builder setEdgePath​(java.lang.String edgePath)
        policy path of edge node where tunnel will be realized with the subnet specified.
        Parameters:
        edgePath - New value for the property.
      • setSourceAddress

        public TunnelAddress.Builder setSourceAddress​(java.lang.String sourceAddress)
        Specify IPv4 source addresses as the tunnel local end point addresses. format: ipv4
        Parameters:
        sourceAddress - New value for the property.
      • setTunnelInterfaceSubnet

        public TunnelAddress.Builder setTunnelInterfaceSubnet​(java.util.List<InterfaceSubnet> tunnelInterfaceSubnet)
        IP addresses in CIDR format for both IP4 and IPv6 assigned to tunnel interface on a given edge node
        Parameters:
        tunnelInterfaceSubnet - New value for the property.