@Stability(value=Stable) public static final class CfnLaunchTemplate.TagSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchTemplate.TagSpecificationProperty>
CfnLaunchTemplate.TagSpecificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLaunchTemplate.TagSpecificationProperty |
build()
Builds the configured instance.
|
CfnLaunchTemplate.TagSpecificationProperty.Builder |
resourceType(String resourceType)
Sets the value of
CfnLaunchTemplate.TagSpecificationProperty.getResourceType() |
CfnLaunchTemplate.TagSpecificationProperty.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnLaunchTemplate.TagSpecificationProperty.getTags() |
@Stability(value=Stable) public CfnLaunchTemplate.TagSpecificationProperty.Builder resourceType(String resourceType)
CfnLaunchTemplate.TagSpecificationProperty.getResourceType()resourceType - The type of resource to tag.
Currently, the resource types that support tagging on creation are instance and volume . To tag a resource after it has been created, see CreateTags .
Conditional : Required if tags are set.
this@Stability(value=Stable) public CfnLaunchTemplate.TagSpecificationProperty.Builder tags(List<? extends CfnTag> tags)
CfnLaunchTemplate.TagSpecificationProperty.getTags()tags - The tags to apply to the resource.this@Stability(value=Stable) public CfnLaunchTemplate.TagSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnLaunchTemplate.TagSpecificationProperty>CfnLaunchTemplate.TagSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.