|
|||||||
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
.
Bundles an Amazon instance store-backed Windows instance.
During bundling, only the root device volume (C:\) is bundled. Data on other instance store volumes is not preserved.
NOTE: This procedure is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.
For more information, see Creating an Instance Store-Backed Windows AMI .
AmazonEC2.bundleInstance(BundleInstanceRequest)
,
Serialized FormConstructor Summary | |
---|---|
BundleInstanceRequest()
Default constructor for a new BundleInstanceRequest object. |
|
BundleInstanceRequest(java.lang.String instanceId,
Storage storage)
Constructs a new BundleInstanceRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Request<BundleInstanceRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.lang.String |
getInstanceId()
The ID of the instance to bundle. |
Storage |
getStorage()
The bucket in which to store the AMI. |
int |
hashCode()
|
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance to bundle. |
void |
setStorage(Storage storage)
The bucket in which to store the AMI. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BundleInstanceRequest |
withInstanceId(java.lang.String instanceId)
The ID of the instance to bundle. |
BundleInstanceRequest |
withStorage(Storage storage)
The bucket in which to store the AMI. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BundleInstanceRequest()
public BundleInstanceRequest(java.lang.String instanceId, Storage storage)
instanceId
- The ID of the instance to bundle.storage
- The bucket in which to store the AMI. You can specify a
bucket that you already own or a new bucket that Amazon EC2 creates on
your behalf. If you specify a bucket that belongs to someone else,
Amazon EC2 returns an error.Method Detail |
---|
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- The ID of the instance to bundle.public BundleInstanceRequest withInstanceId(java.lang.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
- The bucket in which to store the AMI. You can specify a bucket that
you already own or a new bucket that Amazon EC2 creates on your
behalf. If you specify a bucket that belongs to someone else, Amazon
EC2 returns an error.public BundleInstanceRequest withStorage(Storage storage)
Returns a reference to this object so that method calls can be chained together.
storage
- The bucket in which to store the AMI. You can specify a bucket that
you already own or a new bucket that Amazon EC2 creates on your
behalf. If you specify a bucket that belongs to someone else, Amazon
EC2 returns an error.
public Request<BundleInstanceRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<BundleInstanceRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |