org.jclouds.cloudstack.options
Class UpdateDiskOfferingOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.AccountInDomainOptions
          extended by org.jclouds.cloudstack.options.UpdateDiskOfferingOptions
All Implemented Interfaces:
HttpRequestOptions

public class UpdateDiskOfferingOptions
extends AccountInDomainOptions

Options to control how disk offerings are created

Author:
Andrei Savu
See Also:

Nested Class Summary
static class UpdateDiskOfferingOptions.Builder
           
 
Field Summary
static UpdateDiskOfferingOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
UpdateDiskOfferingOptions()
           
 
Method Summary
 UpdateDiskOfferingOptions accountInDomain(String account, long domain)
          
 UpdateDiskOfferingOptions displayText(String displayText)
           
 UpdateDiskOfferingOptions domainId(long domainId)
          
 UpdateDiskOfferingOptions name(String name)
           
 
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 UpdateDiskOfferingOptions NONE
Constructor Detail

UpdateDiskOfferingOptions

public UpdateDiskOfferingOptions()
Method Detail

name

public UpdateDiskOfferingOptions name(String name)
Parameters:
name - service offering name

displayText

public UpdateDiskOfferingOptions displayText(String displayText)
Parameters:
displayText - service offering display text

accountInDomain

public UpdateDiskOfferingOptions accountInDomain(String account,
                                                 long domain)

Overrides:
accountInDomain in class AccountInDomainOptions
Parameters:
account - an optional account for the resource
domain - domain id

domainId

public UpdateDiskOfferingOptions domainId(long domainId)

Overrides:
domainId in class AccountInDomainOptions
Parameters:
domainId - The domain for the resource


Copyright © 2009-2012 jclouds. All Rights Reserved.