public static class UpdateTagDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateTagDetails |
build() |
UpdateTagDetails.Builder |
copy(UpdateTagDetails model) |
UpdateTagDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateTagDetails.Builder |
description(String description)
The description you assign to the tag during creation.
|
UpdateTagDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
UpdateTagDetails.Builder |
isCostTracking(Boolean isCostTracking)
Indicates whether the tag is enabled for cost tracking.
|
UpdateTagDetails.Builder |
isRetired(Boolean isRetired)
Whether the tag is retired.
|
UpdateTagDetails.Builder |
validator(BaseTagDefinitionValidator validator) |
public UpdateTagDetails.Builder description(String description)
The description you assign to the tag during creation.
description
- the value to setpublic UpdateTagDetails.Builder isRetired(Boolean isRetired)
Whether the tag is retired. See Retiring Key Definitions and Namespace Definitions.
isRetired
- the value to setpublic UpdateTagDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic UpdateTagDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic UpdateTagDetails.Builder isCostTracking(Boolean isCostTracking)
Indicates whether the tag is enabled for cost tracking.
isCostTracking
- the value to setpublic UpdateTagDetails.Builder validator(BaseTagDefinitionValidator validator)
public UpdateTagDetails build()
public UpdateTagDetails.Builder copy(UpdateTagDetails model)
Copyright © 2016–2025. All rights reserved.