org.jclouds.cloudstack.options
Class UpdateTemplateOptions

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

public class UpdateTemplateOptions
extends BaseHttpRequestOptions

Options used to control how a template should be updated.

Author:
Richard Downer
See Also:

Nested Class Summary
static class UpdateTemplateOptions.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
UpdateTemplateOptions()
           
 
Method Summary
 UpdateTemplateOptions bootable(boolean bootable)
          true if image is bootable, false otherwise
 UpdateTemplateOptions displayText(String displayText)
          the display text of the image
 UpdateTemplateOptions format(Template.Format format)
          the format for the image
 UpdateTemplateOptions name(String name)
          the name of the image file
 UpdateTemplateOptions osTypeId(long osTypeId)
          the ID of the OS type that best represents the OS of this image.
 UpdateTemplateOptions passwordEnabled(boolean passwordEnabled)
          true if the image supports the password reset feature; default is false
 
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
 

Constructor Detail

UpdateTemplateOptions

public UpdateTemplateOptions()
Method Detail

bootable

public UpdateTemplateOptions bootable(boolean bootable)
true if image is bootable, false otherwise


displayText

public UpdateTemplateOptions displayText(String displayText)
the display text of the image


format

public UpdateTemplateOptions format(Template.Format format)
the format for the image


name

public UpdateTemplateOptions name(String name)
the name of the image file


osTypeId

public UpdateTemplateOptions osTypeId(long osTypeId)
the ID of the OS type that best represents the OS of this image.


passwordEnabled

public UpdateTemplateOptions passwordEnabled(boolean passwordEnabled)
true if the image supports the password reset feature; default is false



Copyright © 2009-2012 jclouds. All Rights Reserved.