public class BundleInstanceRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
BundleInstanceRequest()
Default constructor for a new BundleInstanceRequest object.
|
BundleInstanceRequest(java.lang.String instanceId,
Storage storage)
Constructs a new BundleInstanceRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The ID of the instance to bundle.
|
Storage |
getStorage() |
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance to bundle.
|
void |
setStorage(Storage storage) |
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)
Returns a reference to this object so that method calls can be chained together.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic BundleInstanceRequest()
public BundleInstanceRequest(java.lang.String instanceId,
Storage storage)
instanceId - The ID of the instance to bundle.storage - 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 - public BundleInstanceRequest withStorage(Storage storage)
Returns a reference to this object so that method calls can be chained together.
storage - public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object