public class CreateFirewallRuleOptions extends BaseHttpRequestOptions
Modifier and Type | Class and Description |
---|---|
static class |
CreateFirewallRuleOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static CreateFirewallRuleOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateFirewallRuleOptions() |
Modifier and Type | Method and Description |
---|---|
CreateFirewallRuleOptions |
CIDRs(Set<String> CIDRs) |
CreateFirewallRuleOptions |
endPort(int endPort) |
CreateFirewallRuleOptions |
icmpCode(String icmpCode) |
CreateFirewallRuleOptions |
icmpType(String icmpType) |
CreateFirewallRuleOptions |
startPort(int startPort) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final CreateFirewallRuleOptions NONE
public CreateFirewallRuleOptions CIDRs(Set<String> CIDRs)
CIDRs
- the list of CIDRs to forward traffic frompublic CreateFirewallRuleOptions startPort(int startPort)
startPort
- the starting port of firewall rulepublic CreateFirewallRuleOptions endPort(int endPort)
endPort
- the ending port of firewall rulepublic CreateFirewallRuleOptions icmpCode(String icmpCode)
icmpCode
- error code for this icmp messagepublic CreateFirewallRuleOptions icmpType(String icmpType)
icmpType
- type of the icmp message being sentCopyright © 2009-2012 jclouds. All Rights Reserved.