Interface ImportInstanceLaunchSpecification.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>, SdkBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>, SdkPojo
Enclosing class:
ImportInstanceLaunchSpecification

public static interface ImportInstanceLaunchSpecification.Builder extends SdkPojo, CopyableBuilder<ImportInstanceLaunchSpecification.Builder,ImportInstanceLaunchSpecification>
  • Method Details

    • 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.
    • 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 the Placement.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).

      Parameters:
      placement - a consumer that will call methods on Placement.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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 the UserData.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).

      Parameters:
      userData - a consumer that will call methods on UserData.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: