|
|||||||
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.ImportInstanceRequest
public class ImportInstanceRequest
Container for the parameters to the ImportInstance operation
.
AmazonEC2.importInstance(ImportInstanceRequest)
Constructor Summary | |
---|---|
ImportInstanceRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDescription()
Returns the value of the Description property for this object. |
List<DiskImage> |
getDiskImages()
Returns the value of the DiskImages property for this object. |
ImportInstanceLaunchSpecification |
getLaunchSpecification()
Returns the value of the LaunchSpecification property for this object. |
String |
getPlatform()
Returns the value of the Platform property for this object. |
int |
hashCode()
|
void |
setDescription(String description)
Sets the value of the Description property for this object. |
void |
setDiskImages(Collection<DiskImage> diskImages)
Sets the value of the DiskImages property for this object. |
void |
setLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)
Sets the value of the LaunchSpecification property for this object. |
void |
setPlatform(String platform)
Sets the value of the Platform property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ImportInstanceRequest |
withDescription(String description)
Sets the value of the Description property for this object. |
ImportInstanceRequest |
withDiskImages(Collection<DiskImage> diskImages)
Sets the value of the DiskImages property for this object. |
ImportInstanceRequest |
withDiskImages(DiskImage... diskImages)
Sets the value of the DiskImages property for this object. |
ImportInstanceRequest |
withLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)
Sets the value of the LaunchSpecification property for this object. |
ImportInstanceRequest |
withPlatform(String platform)
Sets the value of the Platform property for this object. |
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 ImportInstanceRequest()
Method Detail |
---|
public String getDescription()
public void setDescription(String description)
description
- The new value for the Description property for this object.public ImportInstanceRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The new value for the Description property for this object.
public ImportInstanceLaunchSpecification getLaunchSpecification()
public void setLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)
launchSpecification
- The new value for the LaunchSpecification property for this object.public ImportInstanceRequest withLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)
Returns a reference to this object so that method calls can be chained together.
launchSpecification
- The new value for the LaunchSpecification property for this object.
public List<DiskImage> getDiskImages()
public void setDiskImages(Collection<DiskImage> diskImages)
diskImages
- The new value for the DiskImages property for this object.public ImportInstanceRequest withDiskImages(DiskImage... diskImages)
Returns a reference to this object so that method calls can be chained together.
diskImages
- The new value for the DiskImages property for this object.
public ImportInstanceRequest withDiskImages(Collection<DiskImage> diskImages)
Returns a reference to this object so that method calls can be chained together.
diskImages
- The new value for the DiskImages property for this object.
public String getPlatform()
public void setPlatform(String platform)
platform
- The new value for the Platform property for this object.public ImportInstanceRequest withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
platform
- The new value for the Platform property for this object.
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 |