com.amazonaws.services.ec2.model
Class ImportInstanceLaunchSpecification

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

public class ImportInstanceLaunchSpecification
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ImportInstanceLaunchSpecification()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAdditionalInfo()
           
 java.lang.String getArchitecture()
          The architecture of the instance.
 java.util.List<java.lang.String> getGroupNames()
          One or more security group names.
 java.lang.String getInstanceInitiatedShutdownBehavior()
          Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
 java.lang.String getInstanceType()
          The instance type.
 java.lang.Boolean getMonitoring()
           
 Placement getPlacement()
           
 java.lang.String getPrivateIpAddress()
          [EC2-VPC] Optionally, you can use this parameter to assign the instance a specific available IP address from the IP address range of the subnet.
 java.lang.String getSubnetId()
          [EC2-VPC] The ID of the subnet to launch the instance into.
 java.lang.String getUserData()
          User data to be made available to the instance.
 int hashCode()
           
 java.lang.Boolean isMonitoring()
           
 void setAdditionalInfo(java.lang.String additionalInfo)
           
 void setArchitecture(ArchitectureValues architecture)
          The architecture of the instance.
 void setArchitecture(java.lang.String architecture)
          The architecture of the instance.
 void setGroupNames(java.util.Collection<java.lang.String> groupNames)
          One or more security group names.
 void setInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
          Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
 void setInstanceInitiatedShutdownBehavior(java.lang.String instanceInitiatedShutdownBehavior)
          Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
 void setInstanceType(InstanceType instanceType)
          The instance type.
 void setInstanceType(java.lang.String instanceType)
          The instance type.
 void setMonitoring(java.lang.Boolean monitoring)
           
 void setPlacement(Placement placement)
           
 void setPrivateIpAddress(java.lang.String privateIpAddress)
          [EC2-VPC] Optionally, you can use this parameter to assign the instance a specific available IP address from the IP address range of the subnet.
 void setSubnetId(java.lang.String subnetId)
          [EC2-VPC] The ID of the subnet to launch the instance into.
 void setUserData(java.lang.String userData)
          User data to be made available to the instance.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ImportInstanceLaunchSpecification withAdditionalInfo(java.lang.String additionalInfo)
           Returns a reference to this object so that method calls can be chained together.
 ImportInstanceLaunchSpecification withArchitecture(ArchitectureValues architecture)
          The architecture of the instance.
 ImportInstanceLaunchSpecification withArchitecture(java.lang.String architecture)
          The architecture of the instance.
 ImportInstanceLaunchSpecification withGroupNames(java.util.Collection<java.lang.String> groupNames)
          One or more security group names.
 ImportInstanceLaunchSpecification withGroupNames(java.lang.String... groupNames)
          One or more security group names.
 ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
          Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
 ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(java.lang.String instanceInitiatedShutdownBehavior)
          Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
 ImportInstanceLaunchSpecification withInstanceType(InstanceType instanceType)
          The instance type.
 ImportInstanceLaunchSpecification withInstanceType(java.lang.String instanceType)
          The instance type.
 ImportInstanceLaunchSpecification withMonitoring(java.lang.Boolean monitoring)
           Returns a reference to this object so that method calls can be chained together.
 ImportInstanceLaunchSpecification withPlacement(Placement placement)
           Returns a reference to this object so that method calls can be chained together.
 ImportInstanceLaunchSpecification withPrivateIpAddress(java.lang.String privateIpAddress)
          [EC2-VPC] Optionally, you can use this parameter to assign the instance a specific available IP address from the IP address range of the subnet.
 ImportInstanceLaunchSpecification withSubnetId(java.lang.String subnetId)
          [EC2-VPC] The ID of the subnet to launch the instance into.
 ImportInstanceLaunchSpecification withUserData(java.lang.String userData)
          User data to be made available to the instance.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportInstanceLaunchSpecification

public ImportInstanceLaunchSpecification()
Method Detail

getArchitecture

public java.lang.String getArchitecture()
The architecture of the instance.

Constraints:
Allowed Values: i386, x86_64

Returns:
The architecture of the instance.
See Also:
ArchitectureValues

setArchitecture

public void setArchitecture(java.lang.String architecture)
The architecture of the instance.

Constraints:
Allowed Values: i386, x86_64

Parameters:
architecture - The architecture of the instance.
See Also:
ArchitectureValues

withArchitecture

public ImportInstanceLaunchSpecification withArchitecture(java.lang.String architecture)
The architecture of the instance.

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

Constraints:
Allowed Values: i386, x86_64

Parameters:
architecture - The architecture of the instance.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ArchitectureValues

setArchitecture

public void setArchitecture(ArchitectureValues architecture)
The architecture of the instance.

Constraints:
Allowed Values: i386, x86_64

Parameters:
architecture - The architecture of the instance.
See Also:
ArchitectureValues

withArchitecture

public ImportInstanceLaunchSpecification withArchitecture(ArchitectureValues architecture)
The architecture of the instance.

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

Constraints:
Allowed Values: i386, x86_64

Parameters:
architecture - The architecture of the instance.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ArchitectureValues

getGroupNames

public java.util.List<java.lang.String> getGroupNames()
One or more security group names.

Returns:
One or more security group names.

setGroupNames

public void setGroupNames(java.util.Collection<java.lang.String> groupNames)
One or more security group names.

Parameters:
groupNames - One or more security group names.

withGroupNames

public ImportInstanceLaunchSpecification withGroupNames(java.lang.String... groupNames)
One or more security group names.

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

Parameters:
groupNames - One or more security group names.
Returns:
A reference to this updated object so that method calls can be chained together.

withGroupNames

public ImportInstanceLaunchSpecification withGroupNames(java.util.Collection<java.lang.String> groupNames)
One or more security group names.

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

Parameters:
groupNames - One or more security group names.
Returns:
A reference to this updated object so that method calls can be chained together.

getAdditionalInfo

public java.lang.String getAdditionalInfo()
Returns:

setAdditionalInfo

public void setAdditionalInfo(java.lang.String additionalInfo)
Parameters:
additionalInfo -

withAdditionalInfo

public ImportInstanceLaunchSpecification withAdditionalInfo(java.lang.String additionalInfo)

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

Parameters:
additionalInfo -
Returns:
A reference to this updated object so that method calls can be chained together.

getUserData

public java.lang.String getUserData()
User data to be made available to the instance.

Returns:
User data to be made available to the instance.

setUserData

public void setUserData(java.lang.String userData)
User data to be made available to the instance.

Parameters:
userData - User data to be made available to the instance.

withUserData

public ImportInstanceLaunchSpecification withUserData(java.lang.String userData)
User data to be made available to the instance.

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

Parameters:
userData - User data to be made available to the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceType

public java.lang.String getInstanceType()
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Returns:
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
See Also:
InstanceType

setInstanceType

public void setInstanceType(java.lang.String instanceType)
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
See Also:
InstanceType

withInstanceType

public ImportInstanceLaunchSpecification withInstanceType(java.lang.String instanceType)
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

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

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceType

setInstanceType

public void setInstanceType(InstanceType instanceType)
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
See Also:
InstanceType

withInstanceType

public ImportInstanceLaunchSpecification withInstanceType(InstanceType instanceType)
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

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

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceType

getPlacement

public Placement getPlacement()
Returns:

setPlacement

public void setPlacement(Placement placement)
Parameters:
placement -

withPlacement

public ImportInstanceLaunchSpecification withPlacement(Placement placement)

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

Parameters:
placement -
Returns:
A reference to this updated object so that method calls can be chained together.

isMonitoring

public java.lang.Boolean isMonitoring()
Returns:

setMonitoring

public void setMonitoring(java.lang.Boolean monitoring)
Parameters:
monitoring -

withMonitoring

public ImportInstanceLaunchSpecification withMonitoring(java.lang.Boolean monitoring)

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

Parameters:
monitoring -
Returns:
A reference to this updated object so that method calls can be chained together.

getMonitoring

public java.lang.Boolean getMonitoring()
Returns:

getSubnetId

public java.lang.String getSubnetId()
[EC2-VPC] The ID of the subnet to launch the instance into.

Returns:
[EC2-VPC] The ID of the subnet to launch the instance into.

setSubnetId

public void setSubnetId(java.lang.String subnetId)
[EC2-VPC] The ID of the subnet to launch the instance into.

Parameters:
subnetId - [EC2-VPC] The ID of the subnet to launch the instance into.

withSubnetId

public ImportInstanceLaunchSpecification withSubnetId(java.lang.String subnetId)
[EC2-VPC] The ID of the subnet to launch the instance into.

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

Parameters:
subnetId - [EC2-VPC] The ID of the subnet to launch the instance into.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceInitiatedShutdownBehavior

public java.lang.String getInstanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Constraints:
Allowed Values: stop, terminate

Returns:
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
See Also:
ShutdownBehavior

setInstanceInitiatedShutdownBehavior

public void setInstanceInitiatedShutdownBehavior(java.lang.String instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Constraints:
Allowed Values: stop, terminate

Parameters:
instanceInitiatedShutdownBehavior - Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
See Also:
ShutdownBehavior

withInstanceInitiatedShutdownBehavior

public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(java.lang.String instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

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

Constraints:
Allowed Values: stop, terminate

Parameters:
instanceInitiatedShutdownBehavior - Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ShutdownBehavior

setInstanceInitiatedShutdownBehavior

public void setInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Constraints:
Allowed Values: stop, terminate

Parameters:
instanceInitiatedShutdownBehavior - Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
See Also:
ShutdownBehavior

withInstanceInitiatedShutdownBehavior

public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

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

Constraints:
Allowed Values: stop, terminate

Parameters:
instanceInitiatedShutdownBehavior - Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ShutdownBehavior

getPrivateIpAddress

public java.lang.String getPrivateIpAddress()
[EC2-VPC] Optionally, you can use this parameter to assign the instance a specific available IP address from the IP address range of the subnet.

Returns:
[EC2-VPC] Optionally, you can use this parameter to assign the instance a specific available IP address from the IP address range of the subnet.

setPrivateIpAddress

public void setPrivateIpAddress(java.lang.String privateIpAddress)
[EC2-VPC] Optionally, you can use this parameter to assign the instance a specific available IP address from the IP address range of the subnet.

Parameters:
privateIpAddress - [EC2-VPC] Optionally, you can use this parameter to assign the instance a specific available IP address from the IP address range of the subnet.

withPrivateIpAddress

public ImportInstanceLaunchSpecification withPrivateIpAddress(java.lang.String privateIpAddress)
[EC2-VPC] Optionally, you can use this parameter to assign the instance a specific available IP address from the IP address range of the subnet.

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

Parameters:
privateIpAddress - [EC2-VPC] Optionally, you can use this parameter to assign the instance a specific available IP address from the IP address range of the subnet.
Returns:
A reference to this updated object so that method calls can be chained together.

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.