Package com.oracle.bmc.identity.model
Class UpdateTagDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.model.UpdateTagDetails.Builder
-
- Enclosing class:
- UpdateTagDetails
public static class UpdateTagDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
description
public UpdateTagDetails.Builder description(String description)
The description you assign to the tag during creation.- Parameters:
description
- the value to set- Returns:
- this builder
-
isRetired
public UpdateTagDetails.Builder isRetired(Boolean isRetired)
Whether the tag is retired.- Parameters:
isRetired
- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
isCostTracking
public UpdateTagDetails.Builder isCostTracking(Boolean isCostTracking)
Indicates whether the tag is enabled for cost tracking.- Parameters:
isCostTracking
- the value to set- Returns:
- this builder
-
validator
public UpdateTagDetails.Builder validator(BaseTagDefinitionValidator validator)
-
build
public UpdateTagDetails build()
-
copy
public UpdateTagDetails.Builder copy(UpdateTagDetails model)
-
-