public static class CreateTagNamespaceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateTagNamespaceDetails |
build() |
CreateTagNamespaceDetails.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy containing the tag namespace.
|
CreateTagNamespaceDetails.Builder |
copy(CreateTagNamespaceDetails model) |
CreateTagNamespaceDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateTagNamespaceDetails.Builder |
description(String description)
The description you assign to the tag namespace during creation.
|
CreateTagNamespaceDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateTagNamespaceDetails.Builder |
locks(List<AddLockDetails> locks)
Locks associated with this resource.
|
CreateTagNamespaceDetails.Builder |
name(String name)
The name you assign to the tag namespace during creation.
|
public CreateTagNamespaceDetails.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the tag namespace.
compartmentId
- the value to setpublic CreateTagNamespaceDetails.Builder name(String name)
The name you assign to the tag namespace during creation. It must be unique across all tag namespaces in the tenancy and cannot be changed.
name
- the value to setpublic CreateTagNamespaceDetails.Builder description(String description)
The description you assign to the tag namespace during creation.
description
- the value to setpublic CreateTagNamespaceDetails.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 CreateTagNamespaceDetails.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 CreateTagNamespaceDetails.Builder locks(List<AddLockDetails> locks)
Locks associated with this resource.
locks
- the value to setpublic CreateTagNamespaceDetails build()
public CreateTagNamespaceDetails.Builder copy(CreateTagNamespaceDetails model)
Copyright © 2016–2024. All rights reserved.