Interface LaunchTemplateSpecification.Builder

    • Method Detail

      • name

        LaunchTemplateSpecification.Builder name​(String name)

        The name of the launch template.

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

        Parameters:
        name - The name of the launch template.

        You must specify either the launch template name or the launch template ID in the request, 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 version number of the launch template to use. If no version is specified, then the template's default version is used.

        Parameters:
        version - The version number of the launch template to use. If no version is specified, then the template's default version is used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        LaunchTemplateSpecification.Builder id​(String id)

        The ID of the launch template.

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

        Parameters:
        id - The ID of the launch template.

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

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