Interface ImportInstanceLaunchSpecification.Builder

    • Method Detail

      • 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.
      • 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.
      • 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.
      • 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
      • 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
      • 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.
      • 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.
      • 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

        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.
      • 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.