Interface LaunchTemplateSpecification.Builder

  • Method Details

    • launchTemplateId

      LaunchTemplateSpecification.Builder launchTemplateId(String launchTemplateId)

      A unique identifier for an existing Amazon EC2 launch template.

      Parameters:
      launchTemplateId - A unique identifier for an existing Amazon EC2 launch template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchTemplateName

      LaunchTemplateSpecification.Builder launchTemplateName(String launchTemplateName)

      A readable identifier for an existing Amazon EC2 launch template.

      Parameters:
      launchTemplateName - A readable identifier for an existing Amazon EC2 launch template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The version of the Amazon EC2 launch template to use. If no version is specified, the default version will be used. With Amazon EC2, you can specify a default version for a launch template. If none is set, the default is the first version created.

      Parameters:
      version - The version of the Amazon EC2 launch template to use. If no version is specified, the default version will be used. With Amazon EC2, you can specify a default version for a launch template. If none is set, the default is the first version created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.