public static class NeutronFirewall.FirewallConcreteBuilder extends Object implements FirewallBuilder
Constructor and Description |
---|
FirewallConcreteBuilder() |
FirewallConcreteBuilder(NeutronFirewall f) |
Modifier and Type | Method and Description |
---|---|
FirewallBuilder |
adminStateUp(Boolean adminStateUp) |
Firewall |
build()
Creates and return the Model Entity M
|
FirewallBuilder |
description(String description) |
FirewallBuilder |
from(Firewall in)
Creates a Builder using the param M as the default values
|
FirewallBuilder |
name(String name) |
FirewallBuilder |
policy(String policyId) |
FirewallBuilder |
routerIds(List<String> routerIds) |
FirewallBuilder |
shared(Boolean shared)
shared : When set to True makes this firewall rule visible to tenants other
than its owner, and can be used in firewall policies not owned by its tenant.
|
FirewallBuilder |
tenantId(String tenantId) |
public FirewallConcreteBuilder()
public FirewallConcreteBuilder(NeutronFirewall f)
public Firewall build()
Buildable.Builder
build
in interface Buildable.Builder<FirewallBuilder,Firewall>
public FirewallBuilder from(Firewall in)
Buildable.Builder
from
in interface Buildable.Builder<FirewallBuilder,Firewall>
public FirewallBuilder tenantId(String tenantId)
tenantId
in interface FirewallBuilder
tenantId
- : Owner of the Firewall. Only an administrative user can
specify a tenant ID other than its own.public FirewallBuilder name(String name)
name
in interface FirewallBuilder
name
- : Human readable name for the firewall (255 characters limit). Does not have to be unique.public FirewallBuilder description(String description)
description
in interface FirewallBuilder
description
- : Human readable description for the firewall (1024 characters limit).public FirewallBuilder adminStateUp(Boolean adminStateUp)
adminStateUp
in interface FirewallBuilder
public FirewallBuilder shared(Boolean shared)
FirewallBuilder
shared
in interface FirewallBuilder
public FirewallBuilder policy(String policyId)
policy
in interface FirewallBuilder
public FirewallBuilder routerIds(List<String> routerIds)
routerIds
in interface FirewallBuilder
routerIds
- : A list of UUIDs for routers that are associated with the firewall.Copyright © 2017. All rights reserved.