|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateImageRequest
public class CreateImageRequest
Represents a request to create a new EC2 image.
| Constructor Summary | |
|---|---|
CreateImageRequest()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
The description for the new AMI being created. |
String |
getInstanceId()
The ID of the instance from which to create the new image. |
String |
getName()
The name for the new AMI being created. |
Boolean |
getNoReboot()
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. |
Boolean |
isNoReboot()
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. |
void |
setDescription(String description)
The description for the new AMI being created. |
void |
setInstanceId(String instanceId)
The ID of the instance from which to create the new image. |
void |
setName(String name)
The name for the new AMI being created. |
void |
setNoReboot(Boolean 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. |
String |
toString()
|
CreateImageRequest |
withDescription(String description)
The description for the new AMI being created. |
CreateImageRequest |
withInstanceId(String instanceId)
The ID of the instance from which to create the new image. |
CreateImageRequest |
withName(String name)
The name for the new AMI being created. |
CreateImageRequest |
withNoReboot(Boolean 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. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateImageRequest()
| Method Detail |
|---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId - The ID of the instance from which to create the new image.public CreateImageRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - The ID of the instance from which to create the new image.
public String getName()
public void setName(String name)
name - The name for the new AMI being created.public CreateImageRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
name - The name for the new AMI being created.
public String getDescription()
public void setDescription(String description)
description - The description for the new AMI being created.public CreateImageRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - The description for the new AMI being created.
public Boolean isNoReboot()
public void setNoReboot(Boolean noReboot)
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. When set to true, Amazon EC2 will not
shut down the instance before creating the image. When this option is
used, file system integrity on the created image cannot be guaranteed.public CreateImageRequest withNoReboot(Boolean noReboot)
Returns a reference to this object so that method calls can be chained together.
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. When set to true, Amazon EC2 will not
shut down the instance before creating the image. When this option is
used, file system integrity on the created image cannot be guaranteed.
public Boolean getNoReboot()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||