Package org.jclouds.cloudstack.options
Class CreateLoadBalancerRuleOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
org.jclouds.cloudstack.options.CreateLoadBalancerRuleOptions
- All Implemented Interfaces:
HttpRequestOptions
Options used to control what load balancer rules are returned
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountInDomain
(String account, String domain) allowedSourceCIDRs
(Set<String> allowedSourceCIRDs) description
(String description) openFirewall
(boolean openFirewall) Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
Field Details
-
NONE
-
-
Constructor Details
-
CreateLoadBalancerRuleOptions
public CreateLoadBalancerRuleOptions()
-
-
Method Details
-
allowedSourceCIDRs
- Parameters:
allowedSourceCIRDs
- the cidr list to forward traffic from
-
description
- Parameters:
description
- the description of the load balancer rule
-
openFirewall
- Parameters:
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 default
-
zoneId
- Parameters:
zoneId
- the availability zone ID
-
accountInDomain
- Overrides:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-