Class NeutronFirewall.FirewallConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronFirewall.FirewallConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<FirewallBuilder,Firewall>
,FirewallBuilder
- Enclosing class:
- NeutronFirewall
public static class NeutronFirewall.FirewallConcreteBuilder extends Object implements FirewallBuilder
-
-
Constructor Summary
Constructors Constructor Description FirewallConcreteBuilder()
FirewallConcreteBuilder(NeutronFirewall f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FirewallBuilder
adminStateUp(Boolean adminStateUp)
Firewall
build()
Creates and return the Model Entity MFirewallBuilder
description(String description)
FirewallBuilder
from(Firewall in)
Creates a Builder using the param M as the default valuesFirewallBuilder
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)
-
-
-
Constructor Detail
-
FirewallConcreteBuilder
public FirewallConcreteBuilder()
-
FirewallConcreteBuilder
public FirewallConcreteBuilder(NeutronFirewall f)
-
-
Method Detail
-
build
public Firewall build()
Description copied from interface:Buildable.Builder
Creates and return the Model Entity M- Specified by:
build
in interfaceBuildable.Builder<FirewallBuilder,Firewall>
- Returns:
- M instance
-
from
public FirewallBuilder from(Firewall in)
Description copied from interface:Buildable.Builder
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<FirewallBuilder,Firewall>
- Returns:
- Builder
-
tenantId
public FirewallBuilder tenantId(String tenantId)
- Specified by:
tenantId
in interfaceFirewallBuilder
- Parameters:
tenantId
- : Owner of the Firewall. Only an administrative user can specify a tenant ID other than its own.- Returns:
- FirewallBuilder
-
name
public FirewallBuilder name(String name)
- Specified by:
name
in interfaceFirewallBuilder
- Parameters:
name
- : Human readable name for the firewall (255 characters limit). Does not have to be unique.- Returns:
- FirewallBuilder
-
description
public FirewallBuilder description(String description)
- Specified by:
description
in interfaceFirewallBuilder
- Parameters:
description
- : Human readable description for the firewall (1024 characters limit).- Returns:
- FirewallBuilder
-
adminStateUp
public FirewallBuilder adminStateUp(Boolean adminStateUp)
- Specified by:
adminStateUp
in interfaceFirewallBuilder
- Returns:
- FirewallBuilder
-
shared
public FirewallBuilder shared(Boolean shared)
Description copied from interface:FirewallBuilder
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.- Specified by:
shared
in interfaceFirewallBuilder
- Returns:
- FirewallBuilder
-
policy
public FirewallBuilder policy(String policyId)
- Specified by:
policy
in interfaceFirewallBuilder
- Returns:
- FirewallBuilder
-
routerIds
public FirewallBuilder routerIds(List<String> routerIds)
- Specified by:
routerIds
in interfaceFirewallBuilder
- Parameters:
routerIds
- : A list of UUIDs for routers that are associated with the firewall.- Returns:
- FirewallBuilder
-
-