Class RouterNexthop.Builder

  • Enclosing class:
    RouterNexthop

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

      • Builder

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

      • setAdminDistance

        public RouterNexthop.Builder setAdminDistance​(java.lang.Long adminDistance)
        Cost associated with next hop route format: int32
        Parameters:
        adminDistance - New value for the property.
      • setIpAddress

        public RouterNexthop.Builder setIpAddress​(java.lang.String ipAddress)
        Next hop gateway IP address format: ip
        Parameters:
        ipAddress - New value for the property.
      • setScope

        public RouterNexthop.Builder setScope​(java.util.List<java.lang.String> scope)
        Interface path associated with current route. For example: specify a policy path referencing the IPSec VPN Session. Should not be provided while creating routes under VPC.
        Parameters:
        scope - New value for the property.