org.jclouds.cloudstack.options
Class CreateDiskOfferingOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
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:
| 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 CreateDiskOfferingOptions NONE
CreateDiskOfferingOptions
public CreateDiskOfferingOptions()
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 resourcedomain - 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.