public static interface TagSpecification.Builder extends CopyableBuilder<TagSpecification.Builder,TagSpecification>
Modifier and Type | Method and Description |
---|---|
TagSpecification.Builder |
resourceType(ResourceType resourceType)
The type of resource to tag.
|
TagSpecification.Builder |
resourceType(String resourceType)
The type of resource to tag.
|
TagSpecification.Builder |
tags(Collection<Tag> tags)
The tags to apply to the resource.
|
TagSpecification.Builder |
tags(Tag... tags)
The tags to apply to the resource.
|
copy
apply, build
TagSpecification.Builder resourceType(String resourceType)
The type of resource to tag. Currently, the resource types that support tagging on creation are
instance
and volume
.
resourceType
- The type of resource to tag. Currently, the resource types that support tagging on creation are
instance
and volume
.ResourceType
,
ResourceType
TagSpecification.Builder resourceType(ResourceType resourceType)
The type of resource to tag. Currently, the resource types that support tagging on creation are
instance
and volume
.
resourceType
- The type of resource to tag. Currently, the resource types that support tagging on creation are
instance
and volume
.ResourceType
,
ResourceType
TagSpecification.Builder tags(Collection<Tag> tags)
The tags to apply to the resource.
tags
- The tags to apply to the resource.TagSpecification.Builder tags(Tag... tags)
The tags to apply to the resource.
tags
- The tags to apply to the resource.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.