Package org.jclouds.cloudstack.options
Class UpdateTemplateOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.UpdateTemplateOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class UpdateTemplateOptions extends BaseHttpRequestOptions
Options used to control how a template should be updated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateTemplateOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description UpdateTemplateOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTemplateOptions
bootable(boolean bootable)
true if image is bootable, false otherwiseUpdateTemplateOptions
displayText(String displayText)
the display text of the imageUpdateTemplateOptions
format(Template.Format format)
the format for the imageUpdateTemplateOptions
name(String name)
the name of the image fileUpdateTemplateOptions
osTypeId(String 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, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
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(String 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
-
-