public class CreateLoadBalancerRuleOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
CreateLoadBalancerRuleOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static CreateLoadBalancerRuleOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateLoadBalancerRuleOptions() |
Modifier and Type | Method and Description |
---|---|
CreateLoadBalancerRuleOptions |
accountInDomain(String account,
String domain) |
CreateLoadBalancerRuleOptions |
allowedSourceCIDRs(Set<String> allowedSourceCIRDs) |
CreateLoadBalancerRuleOptions |
description(String description) |
CreateLoadBalancerRuleOptions |
domainId(String domainId) |
CreateLoadBalancerRuleOptions |
openFirewall(boolean openFirewall) |
CreateLoadBalancerRuleOptions |
zoneId(String zoneId) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final CreateLoadBalancerRuleOptions NONE
public CreateLoadBalancerRuleOptions allowedSourceCIDRs(Set<String> allowedSourceCIRDs)
allowedSourceCIRDs
- the cidr list to forward traffic frompublic CreateLoadBalancerRuleOptions description(String description)
description
- the description of the load balancer rulepublic CreateLoadBalancerRuleOptions openFirewall(boolean openFirewall)
openFirewall
- if true, firewall rule for source/end pubic port is automatically
created; if false - firewall rule has to be created explicitly. Has value true by defaultpublic CreateLoadBalancerRuleOptions zoneId(String zoneId)
zoneId
- the availability zone IDpublic CreateLoadBalancerRuleOptions accountInDomain(String account, String domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic CreateLoadBalancerRuleOptions domainId(String domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2013 jclouds. All Rights Reserved.