org.jclouds.cloudstack.options
Class CreateDiskOfferingOptions

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

public class CreateDiskOfferingOptions
extends AccountInDomainOptions

Options to control how disk offerings are created

Author:
Andrei Savu
See Also:

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

CreateDiskOfferingOptions

public CreateDiskOfferingOptions()
Method Detail

customized

public CreateDiskOfferingOptions customized(boolean customized)
Parameters:
customized - whether disk offering is custom or not

diskSizeInGB

public CreateDiskOfferingOptions diskSizeInGB(int diskSizeInGB)
Parameters:
diskSizeInGB - size of the disk offering in GB

tags

public CreateDiskOfferingOptions tags(Set<String> tags)
Parameters:
tags - the tags for this service offering

accountInDomain

public CreateDiskOfferingOptions accountInDomain(String account,
                                                 long domain)

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

domainId

public CreateDiskOfferingOptions domainId(long domainId)

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


Copyright © 2009-2012 jclouds. All Rights Reserved.