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,
long domain) |
CreateLoadBalancerRuleOptions |
allowedSourceCIDRs(Set<String> allowedSourceCIRDs) |
CreateLoadBalancerRuleOptions |
description(String description) |
CreateLoadBalancerRuleOptions |
domainId(long domainId) |
CreateLoadBalancerRuleOptions |
openFirewall(boolean openFirewall) |
CreateLoadBalancerRuleOptions |
zoneId(long 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(long zoneId)
zoneId
- the availability zone IDpublic CreateLoadBalancerRuleOptions accountInDomain(String account, long domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic CreateLoadBalancerRuleOptions domainId(long domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2012 jclouds. All Rights Reserved.