org.jclouds.cloudstack.options
Class AssociateIPAddressOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.AccountInDomainOptions
          extended by 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:

Nested Class Summary
static class AssociateIPAddressOptions.Builder
           
 
Field Summary
static AssociateIPAddressOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
AssociateIPAddressOptions()
           
 
Method Summary
 AssociateIPAddressOptions accountInDomain(String account, long domain)
          
 AssociateIPAddressOptions domainId(long domainId)
          
 AssociateIPAddressOptions networkId(long networkId)
           
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final AssociateIPAddressOptions NONE
Constructor Detail

AssociateIPAddressOptions

public AssociateIPAddressOptions()
Method Detail

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 resource
domain - 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.