public static final class FirewallRulePolicy.Builder
extends java.lang.Object
FirewallRulePolicy
.Constructor and Description |
---|
Builder(java.lang.String address,
long prefix,
FirewallRulePolicy.Policy policy)
Constructor with parameters for the required properties of
FirewallRulePolicy . |
Modifier and Type | Method and Description |
---|---|
FirewallRulePolicy |
build() |
FirewallRulePolicy.Builder |
setInterfaceName(java.lang.String interfaceName)
The interface to which this rule applies.
|
public Builder(java.lang.String address, long prefix, FirewallRulePolicy.Policy policy)
FirewallRulePolicy
.public FirewallRulePolicy.Builder setInterfaceName(java.lang.String interfaceName)
Set
if interface name requiredinterfaceName
- New value for the property.public FirewallRulePolicy build()