Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class ImportInstanceRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.ImportInstanceRequest
All Implemented Interfaces:
java.io.Serializable

public class ImportInstanceRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the ImportInstance operation.

See Also:
AmazonEC2.importInstance(ImportInstanceRequest), Serialized Form

Constructor Summary
ImportInstanceRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
          Returns the value of the Description property for this object.
 java.util.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.
 java.lang.String getPlatform()
          Returns the value of the Platform property for this object.
 int hashCode()
           
 void setDescription(java.lang.String description)
          Sets the value of the Description property for this object.
 void setDiskImages(java.util.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(java.lang.String platform)
          Sets the value of the Platform property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ImportInstanceRequest withDescription(java.lang.String description)
          Sets the value of the Description property for this object.
 ImportInstanceRequest withDiskImages(java.util.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(java.lang.String platform)
          Sets the value of the Platform property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportInstanceRequest

public ImportInstanceRequest()
Method Detail

getDescription

public java.lang.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(java.lang.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(java.lang.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.

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.

getDiskImages

public java.util.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(java.util.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.

withDiskImages

public ImportInstanceRequest withDiskImages(java.util.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.

getPlatform

public java.lang.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(java.lang.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(java.lang.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.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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