@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ImportInstanceRequest>
Contains the parameters for ImportInstance.
NOOP
Constructor and Description |
---|
ImportInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
ImportInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description for the instance being imported.
|
List<DiskImage> |
getDiskImages()
The disk image.
|
Request<ImportInstanceRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
ImportInstanceLaunchSpecification |
getLaunchSpecification()
The launch specification.
|
String |
getPlatform()
The instance operating system.
|
int |
hashCode() |
void |
setDescription(String description)
A description for the instance being imported.
|
void |
setDiskImages(Collection<DiskImage> diskImages)
The disk image.
|
void |
setLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)
The launch specification.
|
void |
setPlatform(PlatformValues platform)
The instance operating system.
|
void |
setPlatform(String platform)
The instance operating system.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ImportInstanceRequest |
withDescription(String description)
A description for the instance being imported.
|
ImportInstanceRequest |
withDiskImages(Collection<DiskImage> diskImages)
The disk image.
|
ImportInstanceRequest |
withDiskImages(DiskImage... diskImages)
The disk image.
|
ImportInstanceRequest |
withLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)
The launch specification.
|
ImportInstanceRequest |
withPlatform(PlatformValues platform)
The instance operating system.
|
ImportInstanceRequest |
withPlatform(String platform)
The instance operating system.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDescription(String description)
A description for the instance being imported.
description
- A description for the instance being imported.public String getDescription()
A description for the instance being imported.
public ImportInstanceRequest withDescription(String description)
A description for the instance being imported.
description
- A description for the instance being imported.public void setDiskImages(Collection<DiskImage> diskImages)
The disk image.
diskImages
- The disk image.public ImportInstanceRequest withDiskImages(DiskImage... diskImages)
The disk image.
NOTE: This method appends the values to the existing list (if any). Use
setDiskImages(java.util.Collection)
or withDiskImages(java.util.Collection)
if you want to
override the existing values.
diskImages
- The disk image.public ImportInstanceRequest withDiskImages(Collection<DiskImage> diskImages)
The disk image.
diskImages
- The disk image.public void setLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)
The launch specification.
launchSpecification
- The launch specification.public ImportInstanceLaunchSpecification getLaunchSpecification()
The launch specification.
public ImportInstanceRequest withLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)
The launch specification.
launchSpecification
- The launch specification.public void setPlatform(String platform)
The instance operating system.
platform
- The instance operating system.PlatformValues
public String getPlatform()
The instance operating system.
PlatformValues
public ImportInstanceRequest withPlatform(String platform)
The instance operating system.
platform
- The instance operating system.PlatformValues
public void setPlatform(PlatformValues platform)
The instance operating system.
platform
- The instance operating system.PlatformValues
public ImportInstanceRequest withPlatform(PlatformValues platform)
The instance operating system.
platform
- The instance operating system.PlatformValues
public Request<ImportInstanceRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ImportInstanceRequest>
public String toString()
toString
in class Object
Object.toString()
public ImportInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.