|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.openstack.glance.v1_0.options.UpdateImageOptions
org.jclouds.openstack.glance.v1_0.options.CreateImageOptions
public class CreateImageOptions
Usage The recommended way to instantiate a CreateImageOptions object is to statically import CreateImageOptions.Builder.* and invoke a static creation method for each option as needed:
import static org.jclouds.openstack.glance.v1_0.options.CreateImageOptions.Builder.*
// this will create an image with the name "imageName", minimum required disk of 10GB, etc.
details = api.create("imageName", minDisk(10), isPublic(true), property("mykey", "somevalue"));
- See Also:
Nested Class Summary
static class
CreateImageOptions.Builder
Field Summary
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
Constructor Summary
CreateImageOptions()
Method Summary
CreateImageOptions
id(String id)
When present, Glance will use the supplied identifier for the image instead of generating one.
Methods inherited from class org.jclouds.openstack.glance.v1_0.options.UpdateImageOptions
checksum, containerFormat, diskFormat, isProtected, isPublic, location, minDisk, minRam, name, owner, property, size, storeType
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Constructor Detail
CreateImageOptions
public CreateImageOptions()
Method Detail
id
public CreateImageOptions id(String id)
- When present, Glance will use the supplied identifier for the image instead of generating one. If the identifier
already exists in that Glance node, then a 409 Conflict will be returned by Glance. The value of the header must
be a uuid in hexadecimal string notation (i.e. 71c675ab-d94f-49cd-a114-e12490b328d9).
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.