org.jclouds.cloudstack.options
Class UpdateServiceOfferingOptions

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

public class UpdateServiceOfferingOptions
extends AccountInDomainOptions

Options to control how service offerings are created

Author:
Andrei Savu
See Also:

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

UpdateServiceOfferingOptions

public UpdateServiceOfferingOptions()
Method Detail

name

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

displayText

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

accountInDomain

public UpdateServiceOfferingOptions accountInDomain(String account,
                                                    long domain)

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

domainId

public UpdateServiceOfferingOptions domainId(long domainId)

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


Copyright © 2009-2012 jclouds. All Rights Reserved.