Class Tag.Builder
- java.lang.Object
-
- com.oracle.bmc.governancerulescontrolplane.model.Tag.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tag
build()
Tag.Builder
copy(Tag model)
Tag.Builder
description(String description)
The description assigned to the tag during creation.Tag.Builder
isCostTracking(Boolean isCostTracking)
Indicates whether the tag is enabled for cost tracking.Tag.Builder
name(String name)
The name you assign to the tag during creation.Tag.Builder
validator(BaseTagDefinitionValidator validator)
-
-
-
Method Detail
-
name
public Tag.Builder name(String name)
The name you assign to the tag during creation.This is the tag key definition. The name must be unique within the tag namespace and cannot be changed.
- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public Tag.Builder description(String description)
The description assigned to the tag during creation.- Parameters:
description
- the value to set- Returns:
- this builder
-
isCostTracking
public Tag.Builder isCostTracking(Boolean isCostTracking)
Indicates whether the tag is enabled for cost tracking.- Parameters:
isCostTracking
- the value to set- Returns:
- this builder
-
validator
public Tag.Builder validator(BaseTagDefinitionValidator validator)
-
build
public Tag build()
-
copy
public Tag.Builder copy(Tag model)
-
-