Package org.jclouds.cloudstack.options
Class RegisterISOOptions.Builder
- java.lang.Object
-
- org.jclouds.cloudstack.options.RegisterISOOptions.Builder
-
- Enclosing class:
- RegisterISOOptions
public static class RegisterISOOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegisterISOOptions
accountInDomain(String account, String domainId)
static RegisterISOOptions
bootable(boolean bootable)
static RegisterISOOptions
domainId(String domainId)
static RegisterISOOptions
isExtractable(boolean isExtractable)
static RegisterISOOptions
isFeatured(boolean isFeatured)
static RegisterISOOptions
isPublic(boolean isPublic)
static RegisterISOOptions
osTypeId(String osTypeId)
static RegisterISOOptions
projectId(String projectId)
-
-
-
Method Detail
-
accountInDomain
public static RegisterISOOptions accountInDomain(String account, String 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(String 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(String osTypeId)
- Parameters:
osTypeId
- the ID of the OS Type that best represents the OS of this ISO
-
projectId
public static RegisterISOOptions projectId(String projectId)
- Parameters:
projectId
- the project this ISO will be in.
-
-