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, 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 requires HVM, false otherwise
|
CreateTemplateOptions |
snapshotId(String snapshotId)
the ID of the snapshot the template is being created from.
|
CreateTemplateOptions |
volumeId(String volumeId)
the ID of the disk volume the template is being created from.
|
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, 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(String snapshotId)
public CreateTemplateOptions volumeId(String volumeId)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.