Interface LaunchTemplateSpecification.Builder

    • Method Detail

      • launchTemplateId

        LaunchTemplateSpecification.Builder launchTemplateId​(String launchTemplateId)

        The ID of the launch template.

        You must specify either the launch template ID or the launch template name, but not both.

        Parameters:
        launchTemplateId - The ID of the launch template.

        You must specify either the launch template ID or the launch template name, but not both.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • launchTemplateName

        LaunchTemplateSpecification.Builder launchTemplateName​(String launchTemplateName)

        The name of the launch template.

        You must specify either the launch template ID or the launch template name, but not both.

        Parameters:
        launchTemplateName - The name of the launch template.

        You must specify either the launch template ID or the launch template name, but not both.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        LaunchTemplateSpecification.Builder version​(String version)

        The launch template version number, $Latest, or $Default.

        A value of $Latest uses the latest version of the launch template.

        A value of $Default uses the default version of the launch template.

        Default: The default version of the launch template.

        Parameters:
        version - The launch template version number, $Latest, or $Default.

        A value of $Latest uses the latest version of the launch template.

        A value of $Default uses the default version of the launch template.

        Default: The default version of the launch template.

        Returns:
        Returns a reference to this object so that method calls can be chained together.