public abstract static class FirewallPolicy.Rule extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FirewallPolicy.Rule.AddRule |
static class |
FirewallPolicy.Rule.CreatePayload |
Constructor and Description |
---|
Rule() |
Modifier and Type | Method and Description |
---|---|
static FirewallPolicy.Rule |
create(String id,
Types.RuleProtocol protocol,
Integer portFrom,
Integer portTo,
String source) |
abstract String |
id() |
abstract Integer |
portFrom() |
abstract Integer |
portTo() |
abstract Types.RuleProtocol |
protocol() |
abstract String |
source() |
public abstract String id()
@Nullable public abstract Types.RuleProtocol protocol()
public static FirewallPolicy.Rule create(String id, Types.RuleProtocol protocol, Integer portFrom, Integer portTo, String source)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.