Interface ImportInstanceLaunchSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>,SdkBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>,SdkPojo
- Enclosing class:
- ImportInstanceLaunchSpecification
@Mutable @NotThreadSafe public static interface ImportInstanceLaunchSpecification.Builder extends SdkPojo, CopyableBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImportInstanceLaunchSpecification.BuilderadditionalInfo(String additionalInfo)Reserved.ImportInstanceLaunchSpecification.Builderarchitecture(String architecture)The architecture of the instance.ImportInstanceLaunchSpecification.Builderarchitecture(ArchitectureValues architecture)The architecture of the instance.ImportInstanceLaunchSpecification.BuildergroupIds(String... groupIds)The security group IDs.ImportInstanceLaunchSpecification.BuildergroupIds(Collection<String> groupIds)The security group IDs.ImportInstanceLaunchSpecification.BuildergroupNames(String... groupNames)The security group names.ImportInstanceLaunchSpecification.BuildergroupNames(Collection<String> groupNames)The security group names.ImportInstanceLaunchSpecification.BuilderinstanceInitiatedShutdownBehavior(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.BuilderinstanceInitiatedShutdownBehavior(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.BuilderinstanceType(String instanceType)The instance type.ImportInstanceLaunchSpecification.BuilderinstanceType(InstanceType instanceType)The instance type.ImportInstanceLaunchSpecification.Buildermonitoring(Boolean monitoring)Indicates whether monitoring is enabled.default ImportInstanceLaunchSpecification.Builderplacement(Consumer<Placement.Builder> placement)The placement information for the instance.ImportInstanceLaunchSpecification.Builderplacement(Placement placement)The placement information for the instance.ImportInstanceLaunchSpecification.BuilderprivateIpAddress(String privateIpAddress)[EC2-VPC] An available IP address from the IP address range of the subnet.ImportInstanceLaunchSpecification.BuildersubnetId(String subnetId)[EC2-VPC] The ID of the subnet in which to launch the instance.default ImportInstanceLaunchSpecification.BuilderuserData(Consumer<UserData.Builder> userData)The Base64-encoded user data to make available to the instance.ImportInstanceLaunchSpecification.BuilderuserData(UserData userData)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
architecture
ImportInstanceLaunchSpecification.Builder architecture(String 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:
ArchitectureValues,ArchitectureValues
-
architecture
ImportInstanceLaunchSpecification.Builder architecture(ArchitectureValues 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:
ArchitectureValues,ArchitectureValues
-
groupNames
ImportInstanceLaunchSpecification.Builder groupNames(Collection<String> 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
ImportInstanceLaunchSpecification.Builder groupNames(String... 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.
-
groupIds
ImportInstanceLaunchSpecification.Builder groupIds(Collection<String> 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
ImportInstanceLaunchSpecification.Builder groupIds(String... 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.
-
additionalInfo
ImportInstanceLaunchSpecification.Builder additionalInfo(String additionalInfo)
Reserved.
- Parameters:
additionalInfo- Reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userData
ImportInstanceLaunchSpecification.Builder userData(UserData 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
default ImportInstanceLaunchSpecification.Builder userData(Consumer<UserData.Builder> userData)
The Base64-encoded user data to make available to the instance.
This is a convenience method that creates an instance of theUserData.Builderavoiding the need to create one manually viaUserData.builder().When the
Consumercompletes,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:
userData(UserData)
-
instanceType
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.
- 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,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.
- 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,InstanceType
-
placement
ImportInstanceLaunchSpecification.Builder placement(Placement 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
default ImportInstanceLaunchSpecification.Builder placement(Consumer<Placement.Builder> placement)
The placement information for the instance.
This is a convenience method that creates an instance of thePlacement.Builderavoiding the need to create one manually viaPlacement.builder().When the
Consumercompletes,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:
placement(Placement)
-
monitoring
ImportInstanceLaunchSpecification.Builder monitoring(Boolean 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.
-
subnetId
ImportInstanceLaunchSpecification.Builder subnetId(String 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.
-
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:
ShutdownBehavior,ShutdownBehavior
-
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:
ShutdownBehavior,ShutdownBehavior
-
privateIpAddress
ImportInstanceLaunchSpecification.Builder privateIpAddress(String 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.
-
-