public static class TemplateMetadata.Builder extends Object
| Constructor and Description |
|---|
TemplateMetadata.Builder() |
| Modifier and Type | Method and Description |
|---|---|
TemplateMetadata |
build() |
TemplateMetadata.Builder |
displayText(String displayText) |
TemplateMetadata.Builder |
name(String name) |
TemplateMetadata.Builder |
osTypeId(long osTypeId) |
TemplateMetadata.Builder |
passwordEnabled()
the template supports the password reset feature.
|
TemplateMetadata.Builder |
snapshotId(Long snapshotId) |
TemplateMetadata.Builder |
virtualMachineId(Long virtualMachineId) |
TemplateMetadata.Builder |
volumeId(Long volumeId) |
public TemplateMetadata.Builder name(String name)
name - the name of the templatepublic TemplateMetadata.Builder osTypeId(long osTypeId)
osTypeId - the ID of the OS Type that best represents the OS of this template.public TemplateMetadata.Builder displayText(String displayText)
displayText - the display text of the template. This is usually used for display purposes.public TemplateMetadata.Builder snapshotId(Long snapshotId)
snapshotId - the ID of the snapshot the template is being created from.
Either this parameter, or volumeId has to be passed inpublic TemplateMetadata.Builder volumeId(Long volumeId)
volumeId - the ID of the disk volume the template is being created from.
Either this parameter, or snapshotId has to be passed inpublic TemplateMetadata.Builder virtualMachineId(Long virtualMachineId)
virtualMachineId - the ID of the disk volume the template is being created frompublic TemplateMetadata.Builder passwordEnabled()
public TemplateMetadata build()
Copyright © 2009-2012 jclouds. All Rights Reserved.