public class ImportInstanceRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<ImportInstanceRequest>
ImportInstance operation.| Constructor and Description |
|---|
ImportInstanceRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Request<ImportInstanceRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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(PlatformValues platform)
Sets the value of the Platform 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(PlatformValues platform)
Sets the value of the Platform property for this object.
|
ImportInstanceRequest |
withPlatform(String platform)
Sets the value of the Platform property for this object.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic 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()
Constraints:
Allowed Values: Windows
PlatformValuespublic void setPlatform(String platform)
Constraints:
Allowed Values: Windows
platform - The new value for the Platform property for this object.PlatformValuespublic ImportInstanceRequest withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Windows
platform - The new value for the Platform property for this object.PlatformValuespublic void setPlatform(PlatformValues platform)
Constraints:
Allowed Values: Windows
platform - The new value for the Platform property for this object.PlatformValuespublic ImportInstanceRequest withPlatform(PlatformValues platform)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Windows
platform - The new value for the Platform property for this object.PlatformValuespublic Request<ImportInstanceRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ImportInstanceRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.