public interface PortBuilder extends Buildable.Builder<PortBuilder,Port>
build, fromPortBuilder name(String name)
BasicResource.getName()PortBuilder tenantId(String tenantId)
Resource.getTenantId()PortBuilder tenant(Tenant tenant)
Resource.getTenantId()PortBuilder networkId(String networkId)
Port.getNetworkId()PortBuilder trunkPortParentId(String parentPortId)
parentPortId - - ID of of the parent portPort.getTrunkPortParentId()PortBuilder trunkPortType(String portType)
portType - - type of the portPort.getTrunkPortType()PortBuilder trunkPortVlanId(String vlanId)
vlanId - - ID of the vlan connected to trunk portPort.getTrunkPortVlanId()PortBuilder deviceId(String deviceId)
Port.getDeviceId()PortBuilder deviceOwner(String deviceOwner)
Port.getDeviceOwner()PortBuilder macAddress(String macAddress)
Port.getMacAddress()PortBuilder fixedIp(String address, String subnetId)
address - the IP AddresssubnetId - the subnet identifierPort.getFixedIps()PortBuilder removeFixedIp(String address, String subnetId)
address - the IP AddresssubnetId - the subnet identifierPortBuilder allowedAddressPair(String ipAddress, String macAddress)
ipAddress - the Subnet Address (i.e. 192.168.1.0/24)macAddress - the MAC AddressPort.getAllowedAddressPairs()PortBuilder removeAddressPair(String ipAddress, String macAddress)
ipAddress - the Subnet Address (i.e. 192.168.1.0/24)macAddress - the MAC addressPort.getAllowedAddressPairs()PortBuilder adminState(boolean adminStateUp)
Port.isAdminStateUp()PortBuilder state(State state)
Port.getState()PortBuilder extraDhcpOpt(ExtraDhcpOptCreate extraDhcpOptCreate)
PortBuilder securityGroup(String groupName)
PortBuilder portSecurityEnabled(Boolean portSecurityEnabled)
PortBuilder hostId(String hostId)
PortBuilder vifType(String vifType)
PortBuilder vifDetails(Map<String,Object> vifDetails)
PortBuilder vNicType(String vNicType)
PortBuilder profile(Map<String,Object> profile)
Copyright © 2020. All rights reserved.