Class CreateTemplateOptions

java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.CreateTemplateOptions
All Implemented Interfaces:
HttpRequestOptions

public class CreateTemplateOptions extends BaseHttpRequestOptions
Options used to control how a template is created.
See Also:
  • Field Details

  • Constructor Details

    • CreateTemplateOptions

      public CreateTemplateOptions()
  • Method Details

    • bits

      public CreateTemplateOptions bits(int bits)
      32 or 64 bit
    • isFeatured

      public CreateTemplateOptions isFeatured(boolean isFeatured)
      true if this template is a featured template, false otherwise
    • isPublic

      public CreateTemplateOptions isPublic(boolean isPublic)
      true if this template is a public template, false otherwise
    • passwordEnabled

      public CreateTemplateOptions passwordEnabled(boolean passwordEnabled)
      true if the template supports the password reset feature; default is false
    • requiresHVM

      public CreateTemplateOptions requiresHVM(boolean requiresHVM)
      true if the template requires HVM, false otherwise
    • snapshotId

      public CreateTemplateOptions snapshotId(String snapshotId)
      the ID of the snapshot the template is being created from. Either this parameter, or volumeId has to be passed in
    • volumeId

      public CreateTemplateOptions volumeId(String volumeId)
      the ID of the disk volume the template is being created from. Either this parameter, or snapshotId has to be passed in