public static class TagNamespaceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TagNamespaceSummary |
build() |
TagNamespaceSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the tag namespace.
|
TagNamespaceSummary.Builder |
copy(TagNamespaceSummary model) |
TagNamespaceSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
TagNamespaceSummary.Builder |
description(String description)
The description you assign to the tag namespace.
|
TagNamespaceSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
TagNamespaceSummary.Builder |
id(String id)
The OCID of the tag namespace.
|
TagNamespaceSummary.Builder |
isRetired(Boolean isRetired)
Whether the tag namespace is retired.
|
TagNamespaceSummary.Builder |
lifecycleState(TagNamespace.LifecycleState lifecycleState)
The tagnamespace’s current state.
|
TagNamespaceSummary.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
TagNamespaceSummary.Builder |
name(String name)
The name of the tag namespace.
|
TagNamespaceSummary.Builder |
timeCreated(Date timeCreated)
Date and time the tag namespace was created, in the format defined by RFC3339.
|
public TagNamespaceSummary.Builder id(String id)
The OCID of the tag namespace.
id
- the value to setpublic TagNamespaceSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the tag namespace.
compartmentId
- the value to setpublic TagNamespaceSummary.Builder name(String name)
The name of the tag namespace. It must be unique across all tag namespaces in the tenancy and cannot be changed.
name
- the value to setpublic TagNamespaceSummary.Builder description(String description)
The description you assign to the tag namespace.
description
- the value to setpublic TagNamespaceSummary.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 TagNamespaceSummary.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 TagNamespaceSummary.Builder isRetired(Boolean isRetired)
Whether the tag namespace is retired. For more information, see Retiring Key Definitions and Namespace Definitions.
isRetired
- the value to setpublic TagNamespaceSummary.Builder lifecycleState(TagNamespace.LifecycleState lifecycleState)
The tagnamespace’s current state. After creating a tagnamespace, make sure its lifecycleState
is ACTIVE before using it. After retiring a tagnamespace, make sure its
lifecycleState
is INACTIVE before using it.
lifecycleState
- the value to setpublic TagNamespaceSummary.Builder timeCreated(Date timeCreated)
Date and time the tag namespace was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic TagNamespaceSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic TagNamespaceSummary build()
public TagNamespaceSummary.Builder copy(TagNamespaceSummary model)
Copyright © 2016–2024. All rights reserved.