public class RegisterImageOptions extends BaseEC2RequestOptions
import static org.jclouds.ec2.options.RegisterImageOptions.Builder.*
EC2Client connection = // get connection
String imageId = connection.getImageServices().registerImageFromManifest(...withArchitecture(Architecture.I386).withDescription("description"));
Modifier and Type | Class and Description |
---|---|
static class |
RegisterImageOptions.Builder |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
RegisterImageOptions() |
Modifier and Type | Method and Description |
---|---|
RegisterImageOptions |
asArchitecture(Image.Architecture architecture)
The architecture of the image.
|
RegisterImageOptions |
withDescription(String info)
The description of the AMI.
|
RegisterImageOptions |
withKernelId(String kernelId)
The ID of the kernel to select.
|
RegisterImageOptions |
withRamdisk(String ramDiskId)
The ID of the RAM disk to select.
|
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public RegisterImageOptions asArchitecture(Image.Architecture architecture)
public RegisterImageOptions withDescription(String info)
public RegisterImageOptions withKernelId(String kernelId)
public RegisterImageOptions withRamdisk(String ramDiskId)
Copyright © 2009-2013 jclouds. All Rights Reserved.