Package com.vmware.nsx_policy.model
Class PreconfiguredHostSwitch.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PreconfiguredHostSwitch.Builder
-
- Enclosing class:
- PreconfiguredHostSwitch
public static final class PreconfiguredHostSwitch.Builder extends java.lang.Object
Builder class forPreconfiguredHostSwitch
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPreconfiguredHostSwitch
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreconfiguredHostSwitch
build()
PreconfiguredHostSwitch.Builder
setEndpoints(java.util.List<PreconfiguredEndpoint> endpoints)
List of virtual tunnel endpoints which are preconfigured on this host switchPreconfiguredHostSwitch.Builder
setHostSwitchId(java.lang.String hostSwitchId)
External Id of the preconfigured host switch.PreconfiguredHostSwitch.Builder
setTransportZoneEndpoints(java.util.List<TransportZoneEndPoint> transportZoneEndpoints)
List of TransportZones that are to be associated with specified host switch.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPreconfiguredHostSwitch
.
-
-
Method Detail
-
setEndpoints
public PreconfiguredHostSwitch.Builder setEndpoints(java.util.List<PreconfiguredEndpoint> endpoints)
List of virtual tunnel endpoints which are preconfigured on this host switch- Parameters:
endpoints
- New value for the property.
-
setHostSwitchId
public PreconfiguredHostSwitch.Builder setHostSwitchId(java.lang.String hostSwitchId)
External Id of the preconfigured host switch.- Parameters:
hostSwitchId
- New value for the property.
-
setTransportZoneEndpoints
public PreconfiguredHostSwitch.Builder setTransportZoneEndpoints(java.util.List<TransportZoneEndPoint> transportZoneEndpoints)
List of TransportZones that are to be associated with specified host switch.- Parameters:
transportZoneEndpoints
- New value for the property.
-
build
public PreconfiguredHostSwitch build()
-
-