Package com.vmware.nsx_policy.model
Class AttachedInterfaceEntry.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AttachedInterfaceEntry.Builder
-
- Enclosing class:
- AttachedInterfaceEntry
public static final class AttachedInterfaceEntry.Builder extends java.lang.Object
Builder class forAttachedInterfaceEntry
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofAttachedInterfaceEntry
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachedInterfaceEntry
build()
AttachedInterfaceEntry.Builder
setAppIntfName(java.lang.String appIntfName)
The name of application interfaceAttachedInterfaceEntry.Builder
setDefaultGateway(java.lang.String defaultGateway)
Gateway IP format: ipAttachedInterfaceEntry.Builder
setMigrateIntf(java.lang.String migrateIntf)
IP configuration on migrate_intf will migrate to app_intf_name.AttachedInterfaceEntry.Builder
setRoutingTable(java.util.List<java.lang.String> routingTable)
Routing rules
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAttachedInterfaceEntry
.
-
-
Method Detail
-
setAppIntfName
public AttachedInterfaceEntry.Builder setAppIntfName(java.lang.String appIntfName)
The name of application interface- Parameters:
appIntfName
- New value for the property.
-
setDefaultGateway
public AttachedInterfaceEntry.Builder setDefaultGateway(java.lang.String defaultGateway)
Gateway IP format: ip- Parameters:
defaultGateway
- New value for the property.
-
setMigrateIntf
public AttachedInterfaceEntry.Builder setMigrateIntf(java.lang.String migrateIntf)
IP configuration on migrate_intf will migrate to app_intf_name. It is used for Management and Application sharing the same IP.- Parameters:
migrateIntf
- New value for the property.
-
setRoutingTable
public AttachedInterfaceEntry.Builder setRoutingTable(java.util.List<java.lang.String> routingTable)
Routing rules- Parameters:
routingTable
- New value for the property.
-
build
public AttachedInterfaceEntry build()
-
-