Package org.jclouds.cloudstack.options
Class AssociateIPAddressOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.AccountInDomainOptions
-
- org.jclouds.cloudstack.options.AssociateIPAddressOptions
-
- All Implemented Interfaces:
HttpRequestOptions
- Direct Known Subclasses:
ListSecurityGroupsOptions
public class AssociateIPAddressOptions extends AccountInDomainOptions
Options used to acquire and associate a public IP to an account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AssociateIPAddressOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static AssociateIPAddressOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description AssociateIPAddressOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociateIPAddressOptions
accountInDomain(String account, String domain)
AssociateIPAddressOptions
domainId(String domainId)
AssociateIPAddressOptions
networkId(String networkId)
AssociateIPAddressOptions
projectId(String projectId)
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final AssociateIPAddressOptions NONE
-
-
Method Detail
-
networkId
public AssociateIPAddressOptions networkId(String networkId)
- Parameters:
networkId
- The network this ip address should be associated to.
-
projectId
public AssociateIPAddressOptions projectId(String projectId)
- Parameters:
projectId
- Project for the IP
-
accountInDomain
public AssociateIPAddressOptions accountInDomain(String account, String domain)
- Overrides:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
public AssociateIPAddressOptions domainId(String domainId)
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-
-