Interface TrunkBuilder
-
- All Superinterfaces:
Buildable.Builder<TrunkBuilder,Trunk>
- All Known Implementing Classes:
AbstractNeutronTrunk.TrunkConcreteBuilder
public interface TrunkBuilder extends Buildable.Builder<TrunkBuilder,Trunk>
A builder which creates a network trunk- Author:
- Kashyap Jha
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrunkBuilderadminState(boolean adminStateUp)Sets the admin stateTrunkBuilderdescription(String description)Sets the descriptionTrunkBuildername(String name)Sets the nameTrunkBuilderparentPort(String parentPortId)Sets the parent portTrunkBuildertenant(Tenant tenant)Sets the tenantTrunkBuildertenantId(String tenantId)Sets the tenantIdTrunkBuildertrunkId(String trunkId)Sets the trunk idTrunkBuildertrunkSubports(List<NeutronTrunkSubport> trunkSubports)Sets the subports-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
name
TrunkBuilder name(String name)
Sets the name
-
tenant
TrunkBuilder tenant(Tenant tenant)
Sets the tenant
-
tenantId
TrunkBuilder tenantId(String tenantId)
Sets the tenantId
-
parentPort
TrunkBuilder parentPort(String parentPortId)
Sets the parent port
-
description
TrunkBuilder description(String description)
Sets the description
-
adminState
TrunkBuilder adminState(boolean adminStateUp)
Sets the admin state
-
trunkSubports
TrunkBuilder trunkSubports(List<NeutronTrunkSubport> trunkSubports)
Sets the subports
-
trunkId
TrunkBuilder trunkId(String trunkId)
Sets the trunk id
-
-