public class CreateImageOptions extends BaseEC2RequestOptions
import static org.jclouds.ec2.options.CreateImageOptions.Builder.*
EC2Api connection = // get connection
Future> images = connection.getAMIApi().get().createImage(withDescription("123125").noReboot());
Modifier and Type | Class and Description |
---|---|
static class |
CreateImageOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static CreateImageOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateImageOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
boolean |
getNoReboot() |
CreateImageOptions |
noReboot()
By default this property is set to false, which means Amazon EC2 attempts to cleanly shut down
the instance before image creation and reboots the instance afterwards.
|
CreateImageOptions |
withDescription(String description)
The description of the AMI that was provided during image creation.
|
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public static final CreateImageOptions NONE
public CreateImageOptions withDescription(String description)
public String getDescription()
public CreateImageOptions noReboot()
public boolean getNoReboot()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.