public interface FirewallRuleUpdateBuilder extends Buildable.Builder<FirewallRuleUpdateBuilder,FirewallRuleUpdate>
Modifier and Type | Method and Description |
---|---|
FirewallRuleUpdateBuilder |
action(NeutronFirewallRule.FirewallRuleAction action) |
FirewallRuleUpdateBuilder |
description(String description) |
FirewallRuleUpdateBuilder |
destinationIpAddress(String destinationIpAddress) |
FirewallRuleUpdateBuilder |
destinationPort(String destinationPort) |
FirewallRuleUpdateBuilder |
enabled(Boolean enabled) |
FirewallRuleUpdateBuilder |
ipVersion(IPVersionType ipVersion) |
FirewallRuleUpdateBuilder |
name(String name) |
FirewallRuleUpdateBuilder |
protocol(NeutronFirewallRule.IPProtocol protocol) |
FirewallRuleUpdateBuilder |
shared(Boolean shared) |
FirewallRuleUpdateBuilder |
sourceIpAddress(String sourceIpAddress) |
FirewallRuleUpdateBuilder |
sourcePort(String sourcePort) |
FirewallRuleUpdateBuilder |
tenantId(String tenantId) |
build, from
FirewallRuleUpdateBuilder name(String name)
name
- : Human readable name for the firewall rule (255 characters limit). Does not have to be unique.FirewallRuleUpdateBuilder tenantId(String tenantId)
tenantId
- : Owner of the Firewall. Only an administrative user can
specify a tenant ID other than its own.FirewallRuleUpdateBuilder description(String description)
description
- : Human readable description for the firewall rule (1024 characters limit).FirewallRuleUpdateBuilder 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.FirewallRuleUpdateBuilder protocol(NeutronFirewallRule.IPProtocol protocol)
protocol
- : IP Protocol : Possible values are ICMP/TCP/UDP/NONE(ANY).NeutronFirewallRule.IPProtocol
FirewallRuleUpdateBuilder ipVersion(IPVersionType ipVersion)
ipVersion
- : IP Protocol Version : Possible values are 4/6.IPVersionType
FirewallRuleUpdateBuilder sourceIpAddress(String sourceIpAddress)
sourceIpAddress
- or CIDR : Valid IP address (v4 or v6), or CIDR.FirewallRuleUpdateBuilder destinationIpAddress(String destinationIpAddress)
destinationIpAddress
- or CIDR : Valid IP address (v4 or v6), or CIDR.FirewallRuleUpdateBuilder sourcePort(String sourcePort)
sourcePort
- : Valid port number (integer or FirewallRuleUpdateBuilder), or port range in the format of a ':' separated range).
In the case of port range, both ends of the range are included.FirewallRuleUpdateBuilder destinationPort(String destinationPort)
destinationPort
- : Valid port number (integer or FirewallRuleUpdateBuilder), or port range in the format of a ':' separated range).
In the case of port range, both ends of the range are included.FirewallRuleUpdateBuilder action(NeutronFirewallRule.FirewallRuleAction action)
action
- : Action to be performed on the traffic matching the rule (allow, deny).FirewallRuleUpdateBuilder enabled(Boolean enabled)
enabled
- : When set to False will disable this rule in the firewall policy. Facilitates selectively turning off
rules without having to disassociate the rule from the firewall policy.Copyright © 2017. All rights reserved.