Package com.vmware.nsx_policy.model
Class PortAttacher.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PortAttacher.Builder
-
- Enclosing class:
- PortAttacher
public static final class PortAttacher.Builder extends java.lang.Object
Builder class forPortAttacher
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPortAttacher
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortAttacher
build()
PortAttacher.Builder
setEntity(java.lang.String entity)
This is a vmknic name if the attacher is vmknic.PortAttacher.Builder
setHost(java.lang.String host)
TransportNode on which the attacher resides
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPortAttacher
.
-
-
Method Detail
-
setEntity
public PortAttacher.Builder setEntity(java.lang.String entity)
This is a vmknic name if the attacher is vmknic. Otherwise, it is full path of the attached VM's config file- Parameters:
entity
- New value for the property.
-
setHost
public PortAttacher.Builder setHost(java.lang.String host)
TransportNode on which the attacher resides- Parameters:
host
- New value for the property.
-
build
public PortAttacher build()
-
-