public class ImportInstanceLaunchSpecification extends Object implements Serializable
Constructor and Description |
---|
ImportInstanceLaunchSpecification() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAdditionalInfo() |
String |
getArchitecture()
The architecture of the instance.
|
List<String> |
getGroupNames()
One or more security group names.
|
String |
getInstanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate
shutdown from the instance (using the operating system command for
system shutdown).
|
String |
getInstanceType()
The instance type.
|
Boolean |
getMonitoring() |
Placement |
getPlacement() |
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.
|
String |
getSubnetId()
[EC2-VPC] The ID of the subnet to launch the instance into.
|
String |
getUserData()
User data to be made available to the instance.
|
int |
hashCode() |
Boolean |
isMonitoring() |
void |
setAdditionalInfo(String additionalInfo) |
void |
setArchitecture(ArchitectureValues architecture)
The architecture of the instance.
|
void |
setArchitecture(String architecture)
The architecture of the instance.
|
void |
setGroupNames(Collection<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(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(String instanceType)
The instance type.
|
void |
setMonitoring(Boolean monitoring) |
void |
setPlacement(Placement placement) |
void |
setPrivateIpAddress(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(String subnetId)
[EC2-VPC] The ID of the subnet to launch the instance into.
|
void |
setUserData(String userData)
User data to be made available to the instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImportInstanceLaunchSpecification |
withAdditionalInfo(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(String architecture)
The architecture of the instance.
|
ImportInstanceLaunchSpecification |
withGroupNames(Collection<String> groupNames)
One or more security group names.
|
ImportInstanceLaunchSpecification |
withGroupNames(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(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(String instanceType)
The instance type.
|
ImportInstanceLaunchSpecification |
withMonitoring(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(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(String subnetId)
[EC2-VPC] The ID of the subnet to launch the instance into.
|
ImportInstanceLaunchSpecification |
withUserData(String userData)
User data to be made available to the instance.
|
public String getArchitecture()
Constraints:
Allowed Values: i386, x86_64
ArchitectureValues
public void setArchitecture(String architecture)
Constraints:
Allowed Values: i386, x86_64
architecture
- The architecture of the instance.ArchitectureValues
public ImportInstanceLaunchSpecification withArchitecture(String architecture)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: i386, x86_64
architecture
- The architecture of the instance.ArchitectureValues
public void setArchitecture(ArchitectureValues architecture)
Constraints:
Allowed Values: i386, x86_64
architecture
- The architecture of the instance.ArchitectureValues
public ImportInstanceLaunchSpecification withArchitecture(ArchitectureValues architecture)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: i386, x86_64
architecture
- The architecture of the instance.ArchitectureValues
public List<String> getGroupNames()
public void setGroupNames(Collection<String> groupNames)
groupNames
- One or more security group names.public ImportInstanceLaunchSpecification withGroupNames(String... groupNames)
Returns a reference to this object so that method calls can be chained together.
groupNames
- One or more security group names.public ImportInstanceLaunchSpecification withGroupNames(Collection<String> groupNames)
Returns a reference to this object so that method calls can be chained together.
groupNames
- One or more security group names.public String getAdditionalInfo()
public void setAdditionalInfo(String additionalInfo)
additionalInfo
- public ImportInstanceLaunchSpecification withAdditionalInfo(String additionalInfo)
Returns a reference to this object so that method calls can be chained together.
additionalInfo
- public String getUserData()
public void setUserData(String userData)
userData
- User data to be made available to the instance.public ImportInstanceLaunchSpecification withUserData(String userData)
Returns a reference to this object so that method calls can be chained together.
userData
- User data to be made available to the instance.public String getInstanceType()
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
InstanceType
public void setInstanceType(String instanceType)
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
instanceType
- The instance type. For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public ImportInstanceLaunchSpecification withInstanceType(String instanceType)
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
instanceType
- The instance type. For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public void setInstanceType(InstanceType instanceType)
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
instanceType
- The instance type. For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public ImportInstanceLaunchSpecification withInstanceType(InstanceType instanceType)
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
instanceType
- The instance type. For more information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public Placement getPlacement()
public void setPlacement(Placement placement)
placement
- public ImportInstanceLaunchSpecification withPlacement(Placement placement)
Returns a reference to this object so that method calls can be chained together.
placement
- public Boolean isMonitoring()
public void setMonitoring(Boolean monitoring)
monitoring
- public ImportInstanceLaunchSpecification withMonitoring(Boolean monitoring)
Returns a reference to this object so that method calls can be chained together.
monitoring
- public Boolean getMonitoring()
public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- [EC2-VPC] The ID of the subnet to launch the instance into.public ImportInstanceLaunchSpecification withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId
- [EC2-VPC] The ID of the subnet to launch the instance into.public String getInstanceInitiatedShutdownBehavior()
Constraints:
Allowed Values: stop, terminate
ShutdownBehavior
public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Constraints:
Allowed Values: stop, terminate
instanceInitiatedShutdownBehavior
- Indicates whether an instance stops or terminates when you initiate
shutdown from the instance (using the operating system command for
system shutdown).ShutdownBehavior
public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: stop, terminate
instanceInitiatedShutdownBehavior
- Indicates whether an instance stops or terminates when you initiate
shutdown from the instance (using the operating system command for
system shutdown).ShutdownBehavior
public void setInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
Constraints:
Allowed Values: stop, terminate
instanceInitiatedShutdownBehavior
- Indicates whether an instance stops or terminates when you initiate
shutdown from the instance (using the operating system command for
system shutdown).ShutdownBehavior
public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: stop, terminate
instanceInitiatedShutdownBehavior
- Indicates whether an instance stops or terminates when you initiate
shutdown from the instance (using the operating system command for
system shutdown).ShutdownBehavior
public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
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.public ImportInstanceLaunchSpecification withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.