Interface ImportInstanceLaunchSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportInstanceLaunchSpecification.Builder,
,ImportInstanceLaunchSpecification> SdkBuilder<ImportInstanceLaunchSpecification.Builder,
,ImportInstanceLaunchSpecification> SdkPojo
- Enclosing class:
ImportInstanceLaunchSpecification
-
Method Summary
Modifier and TypeMethodDescriptionadditionalInfo
(String additionalInfo) Reserved.architecture
(String architecture) The architecture of the instance.architecture
(ArchitectureValues architecture) The architecture of the instance.The security group IDs.groupIds
(Collection<String> groupIds) The security group IDs.groupNames
(String... groupNames) The security group names.groupNames
(Collection<String> groupNames) The security group names.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
(ShutdownBehavior instanceInitiatedShutdownBehavior) Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).instanceType
(String instanceType) The instance type.instanceType
(InstanceType instanceType) The instance type.monitoring
(Boolean monitoring) Indicates whether monitoring is enabled.placement
(Consumer<Placement.Builder> placement) The placement information for the instance.The placement information for the instance.privateIpAddress
(String privateIpAddress) [EC2-VPC] An available IP address from the IP address range of the subnet.[EC2-VPC] The ID of the subnet in which to launch the instance.userData
(Consumer<UserData.Builder> userData) The Base64-encoded user data to make available to the instance.The Base64-encoded user data to make available to the instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
additionalInfo
Reserved.
- Parameters:
additionalInfo
- Reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecture
The architecture of the instance.
- Parameters:
architecture
- The architecture of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
architecture
The architecture of the instance.
- Parameters:
architecture
- The architecture of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupIds
The security group IDs.
- Parameters:
groupIds
- The security group IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupIds
The security group IDs.
- Parameters:
groupIds
- The security group IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupNames
The security group names.
- Parameters:
groupNames
- The security group names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupNames
The security group names.
- Parameters:
groupNames
- The security group names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceInitiatedShutdownBehavior
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).
- Parameters:
instanceInitiatedShutdownBehavior
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceInitiatedShutdownBehavior
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).
- Parameters:
instanceInitiatedShutdownBehavior
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoring
Indicates whether monitoring is enabled.
- Parameters:
monitoring
- Indicates whether monitoring is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placement
The placement information for the instance.
- Parameters:
placement
- The placement information for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placement
The placement information for the instance.
This is a convenience method that creates an instance of thePlacement.Builder
avoiding the need to create one manually viaPlacement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplacement(Placement)
.- Parameters:
placement
- a consumer that will call methods onPlacement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateIpAddress
[EC2-VPC] An available IP address from the IP address range of the subnet.
- Parameters:
privateIpAddress
- [EC2-VPC] An available IP address from the IP address range of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
[EC2-VPC] The ID of the subnet in which to launch the instance.
- Parameters:
subnetId
- [EC2-VPC] The ID of the subnet in which to launch the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userData
The Base64-encoded user data to make available to the instance.
- Parameters:
userData
- The Base64-encoded user data to make available to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userData
The Base64-encoded user data to make available to the instance.
This is a convenience method that creates an instance of theUserData.Builder
avoiding the need to create one manually viaUserData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserData(UserData)
.- Parameters:
userData
- a consumer that will call methods onUserData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-