Package com.vmware.nsx_policy.model
Class RouterNexthop.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RouterNexthop.Builder
-
- Enclosing class:
- RouterNexthop
public static final class RouterNexthop.Builder extends java.lang.Object
Builder class forRouterNexthop
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofRouterNexthop
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterNexthop
build()
RouterNexthop.Builder
setAdminDistance(java.lang.Long adminDistance)
Cost associated with next hop route format: int32RouterNexthop.Builder
setIpAddress(java.lang.String ipAddress)
Next hop gateway IP address format: ipRouterNexthop.Builder
setScope(java.util.List<java.lang.String> scope)
Interface path associated with current route.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRouterNexthop
.
-
-
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.
-
build
public RouterNexthop build()
-
-