org.jclouds.cloudstack.options
Class CreateTemplateOptions

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

public class CreateTemplateOptions
extends BaseHttpRequestOptions

Options used to control how a template is created.

Author:
Richard Downer
See Also:

Nested Class Summary
static class CreateTemplateOptions.Builder
           
 
Field Summary
static CreateTemplateOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
CreateTemplateOptions()
           
 
Method Summary
 CreateTemplateOptions bits(int bits)
          32 or 64 bit
 CreateTemplateOptions isFeatured(boolean isFeatured)
          true if this template is a featured template, false otherwise
 CreateTemplateOptions isPublic(boolean isPublic)
          true if this template is a public template, false otherwise
 CreateTemplateOptions passwordEnabled(boolean passwordEnabled)
          true if the template supports the password reset feature; default is false
 CreateTemplateOptions requiresHVM(boolean requiresHVM)
          true if the template requres HVM, false otherwise
 CreateTemplateOptions snapshotId(long snapshotId)
          the ID of the snapshot the template is being created from.
 CreateTemplateOptions volumeId(long volumeId)
          the ID of the disk volume the template is being created from.
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final CreateTemplateOptions NONE
Constructor Detail

CreateTemplateOptions

public CreateTemplateOptions()
Method Detail

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 requres HVM, false otherwise


snapshotId

public CreateTemplateOptions snapshotId(long 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(long volumeId)
the ID of the disk volume the template is being created from. Either this parameter, or snapshotId has to be passed in



Copyright © 2009-2012 jclouds. All Rights Reserved.