public static final class VoltTenant.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VoltTenant |
build()
Constructs a VoltTenant from the assembled data.
|
VoltTenant.Builder |
withHumanReadableName(String humanReadableName)
Sets the name string for the tenant.
|
VoltTenant.Builder |
withId(long id)
Sets the identifier for the tenant.
|
VoltTenant.Builder |
withPort(org.onosproject.net.ConnectPoint port) |
VoltTenant.Builder |
withProviderService(long providerService)
Sets the provider service ID.
|
VoltTenant.Builder |
withServiceSpecificId(String serviceSpecificId)
Sets the server specific id (user id) for the tenant.
|
VoltTenant.Builder |
withVlanId(String vlanId)
Sets the VLAN ID for the tenant.
|
public VoltTenant.Builder withHumanReadableName(String humanReadableName)
humanReadableName - namepublic VoltTenant.Builder withId(long id)
id - identifier for the tenantpublic VoltTenant.Builder withServiceSpecificId(String serviceSpecificId)
serviceSpecificId - server specific (user) idpublic VoltTenant.Builder withVlanId(String vlanId)
vlanId - VLAN IDpublic VoltTenant.Builder withProviderService(long providerService)
providerService - provider service IDpublic VoltTenant.Builder withPort(org.onosproject.net.ConnectPoint port)
public VoltTenant build()
Copyright © 2015. All rights reserved.