org.jclouds.cloudstack.options
Class RegisterISOOptions.Builder

java.lang.Object
  extended by org.jclouds.cloudstack.options.RegisterISOOptions.Builder
Enclosing class:
RegisterISOOptions

public static class RegisterISOOptions.Builder
extends Object


Constructor Summary
RegisterISOOptions.Builder()
           
 
Method Summary
static RegisterISOOptions accountInDomain(String account, long domainId)
           
static RegisterISOOptions bootable(boolean bootable)
           
static RegisterISOOptions domainId(long domainId)
           
static RegisterISOOptions isExtractable(boolean isExtractable)
           
static RegisterISOOptions isFeatured(boolean isFeatured)
           
static RegisterISOOptions isPublic(boolean isPublic)
           
static RegisterISOOptions osTypeId(long osTypeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterISOOptions.Builder

public RegisterISOOptions.Builder()
Method Detail

accountInDomain

public static RegisterISOOptions accountInDomain(String account,
                                                 long domainId)
Parameters:
account - an optional account name. Must be used with domainId.

bootable

public static RegisterISOOptions bootable(boolean bootable)
Parameters:
bootable - true if this ISO is bootable

domainId

public static RegisterISOOptions domainId(long domainId)
Parameters:
domainId - an optional domainId. If the account parameter is used, domainId must also be used.

isExtractable

public static RegisterISOOptions isExtractable(boolean isExtractable)
Parameters:
isExtractable - true if the iso or its derivatives are extractable; default is false

isFeatured

public static RegisterISOOptions isFeatured(boolean isFeatured)
Parameters:
isFeatured - true if you want this ISO to be featured

isPublic

public static 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 static 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.