Interface LaunchTemplate.Builder

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

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

    • launchTemplateId

      LaunchTemplate.Builder launchTemplateId(String launchTemplateId)

      The ID of the launch template.

      Parameters:
      launchTemplateId - The ID of the launch template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchTemplateName

      LaunchTemplate.Builder launchTemplateName(String launchTemplateName)

      The name of the launch template.

      Parameters:
      launchTemplateName - The name of the launch template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createTime

      LaunchTemplate.Builder createTime(Instant createTime)

      The time launch template was created.

      Parameters:
      createTime - The time launch template was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      LaunchTemplate.Builder createdBy(String createdBy)

      The principal that created the launch template.

      Parameters:
      createdBy - The principal that created the launch template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultVersionNumber

      LaunchTemplate.Builder defaultVersionNumber(Long defaultVersionNumber)

      The version number of the default version of the launch template.

      Parameters:
      defaultVersionNumber - The version number of the default version of the launch template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestVersionNumber

      LaunchTemplate.Builder latestVersionNumber(Long latestVersionNumber)

      The version number of the latest version of the launch template.

      Parameters:
      latestVersionNumber - The version number of the latest version of the launch template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for the launch template.

      Parameters:
      tags - The tags for the launch template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      LaunchTemplate.Builder tags(Tag... tags)

      The tags for the launch template.

      Parameters:
      tags - The tags for the launch template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for the launch template.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

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