public class CreateTemplateOptions extends BaseHttpRequestOptions
Modifier and Type | Class and Description |
---|---|
static class |
CreateTemplateOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static CreateTemplateOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateTemplateOptions() |
Modifier and Type | Method and Description |
---|---|
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.
|
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final CreateTemplateOptions NONE
public CreateTemplateOptions bits(int bits)
public CreateTemplateOptions isFeatured(boolean isFeatured)
public CreateTemplateOptions isPublic(boolean isPublic)
public CreateTemplateOptions passwordEnabled(boolean passwordEnabled)
public CreateTemplateOptions requiresHVM(boolean requiresHVM)
public CreateTemplateOptions snapshotId(long snapshotId)
public CreateTemplateOptions volumeId(long volumeId)
Copyright © 2009-2012 jclouds. All Rights Reserved.