com.amazonaws.services.ec2.model
Class ImportInstanceLaunchSpecification

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ImportInstanceLaunchSpecification

public class ImportInstanceLaunchSpecification
extends Object

Import Instance Launch Specification


Constructor Summary
ImportInstanceLaunchSpecification()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAdditionalInfo()
          Returns the value of the AdditionalInfo property for this object.
 String getArchitecture()
          Returns the value of the Architecture property for this object.
 List<BlockDeviceMapping> getBlockDeviceMappings()
          Returns the value of the BlockDeviceMappings property for this object.
 Boolean getDisableApiTermination()
          Returns the value of the DisableApiTermination property for this object.
 String getInstanceInitiatedShutdownBehavior()
          Returns the value of the InstanceInitiatedShutdownBehavior property for this object.
 String getInstanceType()
          Returns the value of the InstanceType property for this object.
 Boolean getMonitoring()
          Returns the value of the Monitoring property for this object.
 Placement getPlacement()
          Describes where an Amazon EC2 instance is running within an Amazon EC2 region.
 String getPrivateIpAddress()
          Returns the value of the PrivateIpAddress property for this object.
 List<String> getSecurityGroups()
          Returns the value of the SecurityGroups property for this object.
 String getSubnetId()
          Returns the value of the SubnetId property for this object.
 String getUserData()
          Returns the value of the UserData property for this object.
 int hashCode()
           
 Boolean isDisableApiTermination()
          Returns the value of the DisableApiTermination property for this object.
 Boolean isMonitoring()
          Returns the value of the Monitoring property for this object.
 void setAdditionalInfo(String additionalInfo)
          Sets the value of the AdditionalInfo property for this object.
 void setArchitecture(String architecture)
          Sets the value of the Architecture property for this object.
 void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
          Sets the value of the BlockDeviceMappings property for this object.
 void setDisableApiTermination(Boolean disableApiTermination)
          Sets the value of the DisableApiTermination property for this object.
 void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
          Sets the value of the InstanceInitiatedShutdownBehavior property for this object.
 void setInstanceType(InstanceType instanceType)
          Sets the value of the InstanceType property for this object.
 void setInstanceType(String instanceType)
          Sets the value of the InstanceType property for this object.
 void setMonitoring(Boolean monitoring)
          Sets the value of the Monitoring property for this object.
 void setPlacement(Placement placement)
          Describes where an Amazon EC2 instance is running within an Amazon EC2 region.
 void setPrivateIpAddress(String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 void setSecurityGroups(Collection<String> securityGroups)
          Sets the value of the SecurityGroups property for this object.
 void setSubnetId(String subnetId)
          Sets the value of the SubnetId property for this object.
 void setUserData(String userData)
          Sets the value of the UserData property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ImportInstanceLaunchSpecification withAdditionalInfo(String additionalInfo)
          Sets the value of the AdditionalInfo property for this object.
 ImportInstanceLaunchSpecification withArchitecture(String architecture)
          Sets the value of the Architecture property for this object.
 ImportInstanceLaunchSpecification withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
          Sets the value of the BlockDeviceMappings property for this object.
 ImportInstanceLaunchSpecification withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
          Sets the value of the BlockDeviceMappings property for this object.
 ImportInstanceLaunchSpecification withDisableApiTermination(Boolean disableApiTermination)
          Sets the value of the DisableApiTermination property for this object.
 ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
          Sets the value of the InstanceInitiatedShutdownBehavior property for this object.
 ImportInstanceLaunchSpecification withInstanceType(InstanceType instanceType)
          Sets the value of the InstanceType property for this object.
 ImportInstanceLaunchSpecification withInstanceType(String instanceType)
          Sets the value of the InstanceType property for this object.
 ImportInstanceLaunchSpecification withMonitoring(Boolean monitoring)
          Sets the value of the Monitoring property for this object.
 ImportInstanceLaunchSpecification withPlacement(Placement placement)
          Describes where an Amazon EC2 instance is running within an Amazon EC2 region.
 ImportInstanceLaunchSpecification withPrivateIpAddress(String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 ImportInstanceLaunchSpecification withSecurityGroups(Collection<String> securityGroups)
          Sets the value of the SecurityGroups property for this object.
 ImportInstanceLaunchSpecification withSecurityGroups(String... securityGroups)
          Sets the value of the SecurityGroups property for this object.
 ImportInstanceLaunchSpecification withSubnetId(String subnetId)
          Sets the value of the SubnetId property for this object.
 ImportInstanceLaunchSpecification withUserData(String userData)
          Sets the value of the UserData property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportInstanceLaunchSpecification

public ImportInstanceLaunchSpecification()
Method Detail

getArchitecture

public String getArchitecture()
Returns the value of the Architecture property for this object.

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

setArchitecture

public void setArchitecture(String architecture)
Sets the value of the Architecture property for this object.

Parameters:
architecture - The new value for the Architecture property for this object.

withArchitecture

public ImportInstanceLaunchSpecification withArchitecture(String architecture)
Sets the value of the Architecture property for this object.

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

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

getSecurityGroups

public List<String> getSecurityGroups()
Returns the value of the SecurityGroups property for this object.

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

setSecurityGroups

public void setSecurityGroups(Collection<String> securityGroups)
Sets the value of the SecurityGroups property for this object.

Parameters:
securityGroups - The new value for the SecurityGroups property for this object.

withSecurityGroups

public ImportInstanceLaunchSpecification withSecurityGroups(String... securityGroups)
Sets the value of the SecurityGroups property for this object.

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

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

withSecurityGroups

public ImportInstanceLaunchSpecification withSecurityGroups(Collection<String> securityGroups)
Sets the value of the SecurityGroups property for this object.

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

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

getAdditionalInfo

public String getAdditionalInfo()
Returns the value of the AdditionalInfo property for this object.

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

setAdditionalInfo

public void setAdditionalInfo(String additionalInfo)
Sets the value of the AdditionalInfo property for this object.

Parameters:
additionalInfo - The new value for the AdditionalInfo property for this object.

withAdditionalInfo

public ImportInstanceLaunchSpecification withAdditionalInfo(String additionalInfo)
Sets the value of the AdditionalInfo property for this object.

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

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

getUserData

public String getUserData()
Returns the value of the UserData property for this object.

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

setUserData

public void setUserData(String userData)
Sets the value of the UserData property for this object.

Parameters:
userData - The new value for the UserData property for this object.

withUserData

public ImportInstanceLaunchSpecification withUserData(String userData)
Sets the value of the UserData property for this object.

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

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

getInstanceType

public String getInstanceType()
Returns the value of the InstanceType property for this object.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge

Returns:
The value of the InstanceType property for this object.
See Also:
InstanceType

setInstanceType

public void setInstanceType(String instanceType)
Sets the value of the InstanceType property for this object.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge

Parameters:
instanceType - The new value for the InstanceType property for this object.
See Also:
InstanceType

withInstanceType

public ImportInstanceLaunchSpecification withInstanceType(String instanceType)
Sets the value of the InstanceType property for this object.

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, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge

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

setInstanceType

public void setInstanceType(InstanceType instanceType)
Sets the value of the InstanceType property for this object.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge

Parameters:
instanceType - The new value for the InstanceType property for this object.
See Also:
InstanceType

withInstanceType

public ImportInstanceLaunchSpecification withInstanceType(InstanceType instanceType)
Sets the value of the InstanceType property for this object.

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, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge

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

getPlacement

public Placement getPlacement()
Describes where an Amazon EC2 instance is running within an Amazon EC2 region.

Returns:
Describes where an Amazon EC2 instance is running within an Amazon EC2 region.

setPlacement

public void setPlacement(Placement placement)
Describes where an Amazon EC2 instance is running within an Amazon EC2 region.

Parameters:
placement - Describes where an Amazon EC2 instance is running within an Amazon EC2 region.

withPlacement

public ImportInstanceLaunchSpecification withPlacement(Placement placement)
Describes where an Amazon EC2 instance is running within an Amazon EC2 region.

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

Parameters:
placement - Describes where an Amazon EC2 instance is running within an Amazon EC2 region.
Returns:
A reference to this updated object so that method calls can be chained together.

getBlockDeviceMappings

public List<BlockDeviceMapping> getBlockDeviceMappings()
Returns the value of the BlockDeviceMappings property for this object.

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

setBlockDeviceMappings

public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Sets the value of the BlockDeviceMappings property for this object.

Parameters:
blockDeviceMappings - The new value for the BlockDeviceMappings property for this object.

withBlockDeviceMappings

public ImportInstanceLaunchSpecification withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Sets the value of the BlockDeviceMappings property for this object.

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

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

withBlockDeviceMappings

public ImportInstanceLaunchSpecification withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Sets the value of the BlockDeviceMappings property for this object.

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

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

isMonitoring

public Boolean isMonitoring()
Returns the value of the Monitoring property for this object.

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

setMonitoring

public void setMonitoring(Boolean monitoring)
Sets the value of the Monitoring property for this object.

Parameters:
monitoring - The new value for the Monitoring property for this object.

withMonitoring

public ImportInstanceLaunchSpecification withMonitoring(Boolean monitoring)
Sets the value of the Monitoring property for this object.

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

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

getMonitoring

public Boolean getMonitoring()
Returns the value of the Monitoring property for this object.

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

getSubnetId

public String getSubnetId()
Returns the value of the SubnetId property for this object.

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

setSubnetId

public void setSubnetId(String subnetId)
Sets the value of the SubnetId property for this object.

Parameters:
subnetId - The new value for the SubnetId property for this object.

withSubnetId

public ImportInstanceLaunchSpecification withSubnetId(String subnetId)
Sets the value of the SubnetId property for this object.

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

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

isDisableApiTermination

public Boolean isDisableApiTermination()
Returns the value of the DisableApiTermination property for this object.

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

setDisableApiTermination

public void setDisableApiTermination(Boolean disableApiTermination)
Sets the value of the DisableApiTermination property for this object.

Parameters:
disableApiTermination - The new value for the DisableApiTermination property for this object.

withDisableApiTermination

public ImportInstanceLaunchSpecification withDisableApiTermination(Boolean disableApiTermination)
Sets the value of the DisableApiTermination property for this object.

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

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

getDisableApiTermination

public Boolean getDisableApiTermination()
Returns the value of the DisableApiTermination property for this object.

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

getInstanceInitiatedShutdownBehavior

public String getInstanceInitiatedShutdownBehavior()
Returns the value of the InstanceInitiatedShutdownBehavior property for this object.

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

setInstanceInitiatedShutdownBehavior

public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Sets the value of the InstanceInitiatedShutdownBehavior property for this object.

Parameters:
instanceInitiatedShutdownBehavior - The new value for the InstanceInitiatedShutdownBehavior property for this object.

withInstanceInitiatedShutdownBehavior

public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Sets the value of the InstanceInitiatedShutdownBehavior property for this object.

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

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

getPrivateIpAddress

public String getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object.

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

setPrivateIpAddress

public void setPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.

Parameters:
privateIpAddress - The new value for the PrivateIpAddress property for this object.

withPrivateIpAddress

public ImportInstanceLaunchSpecification withPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.

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

Parameters:
privateIpAddress - The new value for the PrivateIpAddress 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.