@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportInstanceLaunchSpecification extends Object implements Serializable, Cloneable
Describes the launch specification for VM import.
Constructor and Description |
---|
ImportInstanceLaunchSpecification() |
Modifier and Type | Method and Description |
---|---|
ImportInstanceLaunchSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getAdditionalInfo()
Reserved.
|
String |
getArchitecture()
The architecture of the instance.
|
List<String> |
getGroupIds()
One or more security group IDs.
|
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()
Indicates whether monitoring is enabled.
|
Placement |
getPlacement()
The placement information for the instance.
|
String |
getPrivateIpAddress()
[EC2-VPC] An available IP address from the IP address range of the subnet.
|
String |
getSubnetId()
[EC2-VPC] The ID of the subnet in which to launch the instance.
|
UserData |
getUserData()
The user data to make available to the instance.
|
int |
hashCode() |
Boolean |
isMonitoring()
Indicates whether monitoring is enabled.
|
void |
setAdditionalInfo(String additionalInfo)
Reserved.
|
void |
setArchitecture(ArchitectureValues architecture)
The architecture of the instance.
|
void |
setArchitecture(String architecture)
The architecture of the instance.
|
void |
setGroupIds(Collection<String> groupIds)
One or more security group IDs.
|
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)
Indicates whether monitoring is enabled.
|
void |
setPlacement(Placement placement)
The placement information for the instance.
|
void |
setPrivateIpAddress(String privateIpAddress)
[EC2-VPC] An available IP address from the IP address range of the subnet.
|
void |
setSubnetId(String subnetId)
[EC2-VPC] The ID of the subnet in which to launch the instance.
|
void |
setUserData(UserData userData)
The user data to make available to the instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ImportInstanceLaunchSpecification |
withAdditionalInfo(String additionalInfo)
Reserved.
|
ImportInstanceLaunchSpecification |
withArchitecture(ArchitectureValues architecture)
The architecture of the instance.
|
ImportInstanceLaunchSpecification |
withArchitecture(String architecture)
The architecture of the instance.
|
ImportInstanceLaunchSpecification |
withGroupIds(Collection<String> groupIds)
One or more security group IDs.
|
ImportInstanceLaunchSpecification |
withGroupIds(String... groupIds)
One or more security group IDs.
|
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)
Indicates whether monitoring is enabled.
|
ImportInstanceLaunchSpecification |
withPlacement(Placement placement)
The placement information for the instance.
|
ImportInstanceLaunchSpecification |
withPrivateIpAddress(String privateIpAddress)
[EC2-VPC] An available IP address from the IP address range of the subnet.
|
ImportInstanceLaunchSpecification |
withSubnetId(String subnetId)
[EC2-VPC] The ID of the subnet in which to launch the instance.
|
ImportInstanceLaunchSpecification |
withUserData(UserData userData)
The user data to make available to the instance.
|
public void setAdditionalInfo(String additionalInfo)
Reserved.
additionalInfo
- Reserved.public String getAdditionalInfo()
Reserved.
public ImportInstanceLaunchSpecification withAdditionalInfo(String additionalInfo)
Reserved.
additionalInfo
- Reserved.public void setArchitecture(String architecture)
The architecture of the instance.
architecture
- The architecture of the instance.ArchitectureValues
public String getArchitecture()
The architecture of the instance.
ArchitectureValues
public ImportInstanceLaunchSpecification withArchitecture(String architecture)
The architecture of the instance.
architecture
- The architecture of the instance.ArchitectureValues
public void setArchitecture(ArchitectureValues architecture)
The architecture of the instance.
architecture
- The architecture of the instance.ArchitectureValues
public ImportInstanceLaunchSpecification withArchitecture(ArchitectureValues architecture)
The architecture of the instance.
architecture
- The architecture of the instance.ArchitectureValues
public List<String> getGroupIds()
One or more security group IDs.
public void setGroupIds(Collection<String> groupIds)
One or more security group IDs.
groupIds
- One or more security group IDs.public ImportInstanceLaunchSpecification withGroupIds(String... groupIds)
One or more security group IDs.
NOTE: This method appends the values to the existing list (if any). Use
setGroupIds(java.util.Collection)
or withGroupIds(java.util.Collection)
if you want to override
the existing values.
groupIds
- One or more security group IDs.public ImportInstanceLaunchSpecification withGroupIds(Collection<String> groupIds)
One or more security group IDs.
groupIds
- One or more security group IDs.public List<String> getGroupNames()
One or more security group names.
public void setGroupNames(Collection<String> groupNames)
One or more security group names.
groupNames
- One or more security group names.public ImportInstanceLaunchSpecification withGroupNames(String... groupNames)
One or more security group names.
NOTE: This method appends the values to the existing list (if any). Use
setGroupNames(java.util.Collection)
or withGroupNames(java.util.Collection)
if you want to
override the existing values.
groupNames
- One or more security group names.public ImportInstanceLaunchSpecification withGroupNames(Collection<String> groupNames)
One or more security group names.
groupNames
- One or more security group names.public 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).
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 getInstanceInitiatedShutdownBehavior()
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)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
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)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
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)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
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 setInstanceType(String instanceType)
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
instanceType
- The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.InstanceType
public String getInstanceType()
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
InstanceType
public ImportInstanceLaunchSpecification withInstanceType(String instanceType)
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
instanceType
- The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.InstanceType
public void setInstanceType(InstanceType instanceType)
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
instanceType
- The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.InstanceType
public ImportInstanceLaunchSpecification withInstanceType(InstanceType instanceType)
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
instanceType
- The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.InstanceType
public void setMonitoring(Boolean monitoring)
Indicates whether monitoring is enabled.
monitoring
- Indicates whether monitoring is enabled.public Boolean getMonitoring()
Indicates whether monitoring is enabled.
public ImportInstanceLaunchSpecification withMonitoring(Boolean monitoring)
Indicates whether monitoring is enabled.
monitoring
- Indicates whether monitoring is enabled.public Boolean isMonitoring()
Indicates whether monitoring is enabled.
public void setPlacement(Placement placement)
The placement information for the instance.
placement
- The placement information for the instance.public Placement getPlacement()
The placement information for the instance.
public ImportInstanceLaunchSpecification withPlacement(Placement placement)
The placement information for the instance.
placement
- The placement information for the instance.public void setPrivateIpAddress(String privateIpAddress)
[EC2-VPC] An available IP address from the IP address range of the subnet.
privateIpAddress
- [EC2-VPC] An available IP address from the IP address range of the subnet.public String getPrivateIpAddress()
[EC2-VPC] An available IP address from the IP address range of the subnet.
public ImportInstanceLaunchSpecification withPrivateIpAddress(String privateIpAddress)
[EC2-VPC] An available IP address from the IP address range of the subnet.
privateIpAddress
- [EC2-VPC] An available IP address from the IP address range of the subnet.public void setSubnetId(String subnetId)
[EC2-VPC] The ID of the subnet in which to launch the instance.
subnetId
- [EC2-VPC] The ID of the subnet in which to launch the instance.public String getSubnetId()
[EC2-VPC] The ID of the subnet in which to launch the instance.
public ImportInstanceLaunchSpecification withSubnetId(String subnetId)
[EC2-VPC] The ID of the subnet in which to launch the instance.
subnetId
- [EC2-VPC] The ID of the subnet in which to launch the instance.public void setUserData(UserData userData)
The user data to make available to the instance. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.
userData
- The user data to make available to the instance. If you are using an AWS SDK or command line tool,
Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide
Base64-encoded text.public UserData getUserData()
The user data to make available to the instance. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.
public ImportInstanceLaunchSpecification withUserData(UserData userData)
The user data to make available to the instance. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.
userData
- The user data to make available to the instance. If you are using an AWS SDK or command line tool,
Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide
Base64-encoded text.public String toString()
toString
in class Object
Object.toString()
public ImportInstanceLaunchSpecification clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.