public static interface ImportInstanceLaunchSpecification.Builder extends SdkPojo, 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)
The security group IDs.
|
ImportInstanceLaunchSpecification.Builder |
groupIds(String... groupIds)
The security group IDs.
|
ImportInstanceLaunchSpecification.Builder |
groupNames(Collection<String> groupNames)
The security group names.
|
ImportInstanceLaunchSpecification.Builder |
groupNames(String... groupNames)
The 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 Base64-encoded user data to make available to the instance.
|
ImportInstanceLaunchSpecification.Builder |
userData(UserData userData)
The Base64-encoded user data to make available to the instance.
|
equalsBySdkFields, sdkFields
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)
The security group IDs.
groupIds
- The security group IDs.ImportInstanceLaunchSpecification.Builder groupIds(String... groupIds)
The security group IDs.
groupIds
- The security group IDs.ImportInstanceLaunchSpecification.Builder groupNames(Collection<String> groupNames)
The security group names.
groupNames
- The security group names.ImportInstanceLaunchSpecification.Builder groupNames(String... groupNames)
The security group names.
groupNames
- The 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 Base64-encoded user data to make available to the instance.
userData
- The Base64-encoded user data to make available to the instance.default ImportInstanceLaunchSpecification.Builder userData(Consumer<UserData.Builder> userData)
The Base64-encoded user data to make available to the instance.
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 © 2019. All rights reserved.