| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TagProps.Builder |
applyToLaunchedInstances(Boolean applyToLaunchedInstances)
Sets the value of
TagProps.getApplyToLaunchedInstances() |
TagProps |
build()
Builds the configured instance.
|
TagProps.Builder |
excludeResourceTypes(List<String> excludeResourceTypes)
Sets the value of
TagProps.getExcludeResourceTypes() |
TagProps.Builder |
includeResourceTypes(List<String> includeResourceTypes)
Sets the value of
TagProps.getIncludeResourceTypes() |
TagProps.Builder |
priority(Number priority)
Sets the value of
TagProps.getPriority() |
@Stability(value=Experimental) public TagProps.Builder applyToLaunchedInstances(Boolean applyToLaunchedInstances)
TagProps.getApplyToLaunchedInstances()applyToLaunchedInstances - Whether the tag should be applied to instances in an AutoScalingGroup.this@Stability(value=Experimental) public TagProps.Builder excludeResourceTypes(List<String> excludeResourceTypes)
TagProps.getExcludeResourceTypes()excludeResourceTypes - An array of Resource Types that will not receive this tag.
An empty array will allow this tag to be applied to all resources. A
non-empty array will apply this tag only if the Resource type is not in
this array.this@Stability(value=Experimental) public TagProps.Builder includeResourceTypes(List<String> includeResourceTypes)
TagProps.getIncludeResourceTypes()includeResourceTypes - An array of Resource Types that will receive this tag.
An empty array will match any Resource. A non-empty array will apply this
tag only to Resource types that are included in this array.this@Stability(value=Experimental) public TagProps.Builder priority(Number priority)
TagProps.getPriority()priority - Priority of the tag operation.
Higher or equal priority tags will take precedence.
Setting priority will enable the user to control tags when they need to not follow the default precedence pattern of last applied and closest to the construct in the tree.
this@Stability(value=Experimental) public TagProps build()
build in interface software.amazon.jsii.Builder<TagProps>TagPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.