public static interface ImportInstanceLaunchSpecification.Builder extends CopyableBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>
Modifier and Type | Method and Description |
---|---|
ImportInstanceLaunchSpecification.Builder |
additionalInfo(String additionalInfo)
Reserved.
|
ImportInstanceLaunchSpecification.Builder |
architecture(ArchitectureValues architecture)
The architecture of the instance.
|
ImportInstanceLaunchSpecification.Builder |
architecture(String architecture)
The architecture of the instance.
|
ImportInstanceLaunchSpecification.Builder |
groupIds(Collection<String> groupIds)
One or more security group IDs.
|
ImportInstanceLaunchSpecification.Builder |
groupIds(String... groupIds)
One or more security group IDs.
|
ImportInstanceLaunchSpecification.Builder |
groupNames(Collection<String> groupNames)
One or more security group names.
|
ImportInstanceLaunchSpecification.Builder |
groupNames(String... groupNames)
One or more security group names.
|
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 |
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 |
instanceType(InstanceType instanceType)
The instance type.
|
ImportInstanceLaunchSpecification.Builder |
instanceType(String instanceType)
The instance type.
|
ImportInstanceLaunchSpecification.Builder |
monitoring(Boolean monitoring)
Indicates whether monitoring is enabled.
|
default ImportInstanceLaunchSpecification.Builder |
placement(Consumer<Placement.Builder> placement)
The placement information for the instance.
|
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.
|
default ImportInstanceLaunchSpecification.Builder |
userData(Consumer<UserData.Builder> userData)
The user data to make available to the instance.
|
ImportInstanceLaunchSpecification.Builder |
userData(UserData userData)
The user data to make available to the instance.
|
copy
applyMutation, 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
,
ArchitectureValues
ImportInstanceLaunchSpecification.Builder architecture(ArchitectureValues architecture)
The architecture of the instance.
architecture
- The architecture of the instance.ArchitectureValues
,
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.
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.
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
,
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
,
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
,
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
,
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.default ImportInstanceLaunchSpecification.Builder placement(Consumer<Placement.Builder> placement)
The placement information for the instance.
This is a convenience that creates an instance of thePlacement.Builder
avoiding the need to create
one manually via Placement.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to placement(Placement)
.placement
- a consumer that will call methods on Placement.Builder
placement(Placement)
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.default ImportInstanceLaunchSpecification.Builder userData(Consumer<UserData.Builder> 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.
This is a convenience that creates an instance of theUserData.Builder
avoiding the need to create
one manually via UserData.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to userData(UserData)
.userData
- a consumer that will call methods on UserData.Builder
userData(UserData)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.