public class RegisterImageOptions extends BaseEC2RequestOptions
import static org.jclouds.ec2.options.RegisterImageOptions.Builder.*
EC2Api 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, 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, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, 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-2016 The Apache Software Foundation. All Rights Reserved.