public abstract static class CreateFirewallPolicy.Builder extends Object
Constructor and Description |
---|
CreateFirewallPolicy.Builder() |
Modifier and Type | Method and Description |
---|---|
abstract CreateFirewallPolicy.Builder |
audited(Boolean audited) |
CreateFirewallPolicy |
build() |
abstract CreateFirewallPolicy.Builder |
description(String description) |
abstract CreateFirewallPolicy.Builder |
firewallRules(List<String> firewallRules) |
abstract Boolean |
getAudited() |
abstract String |
getDescription() |
abstract List<String> |
getFirewallRules() |
abstract String |
getName() |
abstract Boolean |
getShared() |
abstract String |
getTenantId() |
abstract CreateFirewallPolicy.Builder |
name(String name) |
abstract CreateFirewallPolicy.Builder |
shared(Boolean shared) |
abstract CreateFirewallPolicy.Builder |
tenantId(String tenantId) |
public abstract CreateFirewallPolicy.Builder tenantId(String tenantId)
tenantId
- Owner of the firewall. Only admin users can specify a tenant_id other than its own.public abstract CreateFirewallPolicy.Builder name(String name)
name
- Human readable name for the firewall (255 characters limit).public abstract CreateFirewallPolicy.Builder description(String description)
description
- Human readable description for the firewall (1024 characters limit).public abstract CreateFirewallPolicy.Builder shared(Boolean shared)
shared
- When set to True makes this firewall policy visible to tenants other than its owner and
can be used to associate with firewalls not owned by its tenant.public abstract CreateFirewallPolicy.Builder firewallRules(List<String> firewallRules)
firewallRules
- This is an ordered list of firewall rule uuids.
The firewall applies the rules in the order in which they appear in this list.public abstract CreateFirewallPolicy.Builder audited(Boolean audited)
audited
- When set to True by the policy owner indicates that the firewall policy has been audited. This attribute is meant to aid in the
firewall policy audit work flows. Each time the firewall policy or the associated firewall rules are changed, this attribute is set
to False and must be explicitly set to True through an update operation.public CreateFirewallPolicy build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.