com.amazonaws.services.ec2.model
Class ImportInstanceRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.ImportInstanceRequest

public class ImportInstanceRequest
extends AmazonWebServiceRequest

Container for the parameters to the ImportInstance operation.

See Also:
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

ImportInstanceRequest

public ImportInstanceRequest()
Method Detail

getDescription

public String getDescription()
Returns the value of the Description property for this object.

Returns:
The value of the Description property for this object.

setDescription

public void setDescription(String description)
Sets the value of the Description property for this object.

Parameters:
description - The new value for the Description property for this object.

withDescription

public ImportInstanceRequest withDescription(String description)
Sets the value of the Description property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - The new value for the Description property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getLaunchSpecification

public ImportInstanceLaunchSpecification getLaunchSpecification()
Returns the value of the LaunchSpecification property for this object.

Returns:
The value of the LaunchSpecification property for this object.

setLaunchSpecification

public void setLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)
Sets the value of the LaunchSpecification property for this object.

Parameters:
launchSpecification - The new value for the LaunchSpecification property for this object.

withLaunchSpecification

public ImportInstanceRequest withLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)
Sets the value of the LaunchSpecification property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
launchSpecification - The new value for the LaunchSpecification property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDiskImages

public List<DiskImage> getDiskImages()
Returns the value of the DiskImages property for this object.

Returns:
The value of the DiskImages property for this object.

setDiskImages

public void setDiskImages(Collection<DiskImage> diskImages)
Sets the value of the DiskImages property for this object.

Parameters:
diskImages - The new value for the DiskImages property for this object.

withDiskImages

public ImportInstanceRequest withDiskImages(DiskImage... diskImages)
Sets the value of the DiskImages property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
diskImages - The new value for the DiskImages property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withDiskImages

public ImportInstanceRequest withDiskImages(Collection<DiskImage> diskImages)
Sets the value of the DiskImages property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
diskImages - The new value for the DiskImages property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getPlatform

public String getPlatform()
Returns the value of the Platform property for this object.

Returns:
The value of the Platform property for this object.

setPlatform

public void setPlatform(String platform)
Sets the value of the Platform property for this object.

Parameters:
platform - The new value for the Platform property for this object.

withPlatform

public ImportInstanceRequest withPlatform(String platform)
Sets the value of the Platform property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
platform - The new value for the Platform property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.