|
|||||||
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.BundleInstanceRequest
public class BundleInstanceRequest
Container for the parameters to the BundleInstance operation
.
The BundleInstance operation request that an instance is bundled the next time it boots. The bundling process creates a new image from a running instance and stores the AMI data in S3. Once bundled, the image must be registered in the normal way using the RegisterImage API.
AmazonEC2.bundleInstance(BundleInstanceRequest)
Constructor Summary | |
---|---|
BundleInstanceRequest()
Default constructor for a new BundleInstanceRequest object. |
|
BundleInstanceRequest(String instanceId,
Storage storage)
Constructs a new BundleInstanceRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getInstanceId()
The ID of the instance to bundle. |
Storage |
getStorage()
|
int |
hashCode()
|
void |
setInstanceId(String instanceId)
The ID of the instance to bundle. |
void |
setStorage(Storage storage)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BundleInstanceRequest |
withInstanceId(String instanceId)
The ID of the instance to bundle. |
BundleInstanceRequest |
withStorage(Storage storage)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BundleInstanceRequest()
public BundleInstanceRequest(String instanceId, Storage storage)
instanceId
- The ID of the instance to bundle.storage
- Method Detail |
---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The ID of the instance to bundle.public BundleInstanceRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance to bundle.
public Storage getStorage()
public void setStorage(Storage storage)
storage
- public BundleInstanceRequest withStorage(Storage storage)
Returns a reference to this object so that method calls can be chained together.
storage
-
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |