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.
- Author:
- Adrian Cole
- See Also:
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final AssociateIPAddressOptions NONE
AssociateIPAddressOptions
public AssociateIPAddressOptions()
networkId
public AssociateIPAddressOptions networkId(long networkId)
- Parameters:
networkId
- The network this ip address should be associated to.
accountInDomain
public AssociateIPAddressOptions accountInDomain(String account,
long domain)
-
- Overrides:
accountInDomain
in class AccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
domainId
public AssociateIPAddressOptions domainId(long domainId)
-
- Overrides:
domainId
in class AccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
Copyright © 2009-2012 jclouds. All Rights Reserved.