CopyableBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>
, SdkBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>
public static interface ImportInstanceLaunchSpecification.Builder extends CopyableBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>
Modifier and Type | Method | Description |
---|---|---|
ImportInstanceLaunchSpecification.Builder |
additionalInfo(String additionalInfo) |
Reserved.
|
ImportInstanceLaunchSpecification.Builder |
architecture(String architecture) |
The architecture of the instance.
|
ImportInstanceLaunchSpecification.Builder |
architecture(ArchitectureValues architecture) |
The architecture of the instance.
|
ImportInstanceLaunchSpecification.Builder |
groupIds(String... groupIds) |
One or more security group IDs.
|
ImportInstanceLaunchSpecification.Builder |
groupIds(Collection<String> groupIds) |
One or more security group IDs.
|
ImportInstanceLaunchSpecification.Builder |
groupNames(String... groupNames) |
One or more security group names.
|
ImportInstanceLaunchSpecification.Builder |
groupNames(Collection<String> groupNames) |
One or more security group names.
|
ImportInstanceLaunchSpecification.Builder |
instanceInitiatedShutdownBehavior(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.Builder |
instanceInitiatedShutdownBehavior(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.Builder |
instanceType(String instanceType) |
The instance type.
|
ImportInstanceLaunchSpecification.Builder |
instanceType(InstanceType instanceType) |
The instance type.
|
ImportInstanceLaunchSpecification.Builder |
monitoring(Boolean monitoring) |
Indicates whether monitoring is enabled.
|
ImportInstanceLaunchSpecification.Builder |
placement(Placement placement) |
The placement information for the instance.
|
ImportInstanceLaunchSpecification.Builder |
privateIpAddress(String privateIpAddress) |
[EC2-VPC] An available IP address from the IP address range of the subnet.
|
ImportInstanceLaunchSpecification.Builder |
subnetId(String subnetId) |
[EC2-VPC] The ID of the subnet in which to launch the instance.
|
ImportInstanceLaunchSpecification.Builder |
userData(UserData userData) |
The user data to make available to the instance.
|
copy
apply, build
ImportInstanceLaunchSpecification.Builder additionalInfo(String additionalInfo)
Reserved.
additionalInfo
- Reserved.ImportInstanceLaunchSpecification.Builder architecture(String architecture)
The architecture of the instance.
architecture
- The architecture of the instance.ArchitectureValues
ImportInstanceLaunchSpecification.Builder architecture(ArchitectureValues architecture)
The architecture of the instance.
architecture
- The architecture of the instance.ArchitectureValues
ImportInstanceLaunchSpecification.Builder groupIds(Collection<String> groupIds)
One or more security group IDs.
groupIds
- One or more security group IDs.ImportInstanceLaunchSpecification.Builder groupIds(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.ImportInstanceLaunchSpecification.Builder groupNames(Collection<String> groupNames)
One or more security group names.
groupNames
- One or more security group names.ImportInstanceLaunchSpecification.Builder groupNames(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.ImportInstanceLaunchSpecification.Builder instanceInitiatedShutdownBehavior(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
ImportInstanceLaunchSpecification.Builder instanceInitiatedShutdownBehavior(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
ImportInstanceLaunchSpecification.Builder instanceType(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
ImportInstanceLaunchSpecification.Builder instanceType(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
ImportInstanceLaunchSpecification.Builder monitoring(Boolean monitoring)
Indicates whether monitoring is enabled.
monitoring
- Indicates whether monitoring is enabled.ImportInstanceLaunchSpecification.Builder placement(Placement placement)
The placement information for the instance.
placement
- The placement information for the instance.ImportInstanceLaunchSpecification.Builder privateIpAddress(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.ImportInstanceLaunchSpecification.Builder subnetId(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.ImportInstanceLaunchSpecification.Builder userData(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.