org.jclouds.cloudstack.options
Class RegisterISOOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
org.jclouds.cloudstack.options.RegisterISOOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class RegisterISOOptions
- extends AccountInDomainOptions
Options for the ISO registerISO method.
- Author:
- Richard Downer
- See Also:
ISOClient.registerISO(java.lang.String, java.lang.String, java.lang.String, long, org.jclouds.cloudstack.options.RegisterISOOptions...)
,
ISOAsyncClient.registerISO(java.lang.String, java.lang.String, java.lang.String, long, org.jclouds.cloudstack.options.RegisterISOOptions...)
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 RegisterISOOptions NONE
RegisterISOOptions
public RegisterISOOptions()
bootable
public RegisterISOOptions bootable(boolean bootable)
- Parameters:
bootable
- true if this ISO is bootable
isExtractable
public RegisterISOOptions isExtractable(boolean isExtractable)
- Parameters:
isExtractable
- true if the iso or its derivatives are extractable; default is false
isFeatured
public RegisterISOOptions isFeatured(boolean isFeatured)
- Parameters:
isFeatured
- true if you want this ISO to be featured
isPublic
public RegisterISOOptions isPublic(boolean isPublic)
- Parameters:
isPublic
- true if you want to register the ISO to be publicly available to all users, false otherwise.
osTypeId
public RegisterISOOptions osTypeId(long osTypeId)
- Parameters:
osTypeId
- the ID of the OS Type that best represents the OS of this ISO
Copyright © 2009-2012 jclouds. All Rights Reserved.