Interface LaunchTemplateTagSpecificationRequest.Builder

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

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

    • resourceType

      The type of resource to tag.

      Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance | volume | network-interface | spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume.

      To tag a resource after it has been created, see CreateTags.

      Parameters:
      resourceType - The type of resource to tag.

      Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance | volume | network-interface | spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume.

      To tag a resource after it has been created, see CreateTags.

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

      The type of resource to tag.

      Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance | volume | network-interface | spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume.

      To tag a resource after it has been created, see CreateTags.

      Parameters:
      resourceType - The type of resource to tag.

      Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance | volume | network-interface | spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume.

      To tag a resource after it has been created, see CreateTags.

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

      The tags to apply to the resource.

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

      The tags to apply to the resource.

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

      The tags to apply to the resource.

      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: