Package com.oracle.bmc.identity.model
Class TagNamespaceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.model.TagNamespaceSummary.Builder
-
- Enclosing class:
- TagNamespaceSummary
public static class TagNamespaceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagNamespaceSummarybuild()TagNamespaceSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the tag namespace.TagNamespaceSummary.Buildercopy(TagNamespaceSummary model)TagNamespaceSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.TagNamespaceSummary.Builderdescription(String description)The description you assign to the tag namespace.TagNamespaceSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.TagNamespaceSummary.Builderid(String id)The OCID of the tag namespace.TagNamespaceSummary.BuilderisRetired(Boolean isRetired)Whether the tag namespace is retired.TagNamespaceSummary.BuilderlifecycleState(TagNamespace.LifecycleState lifecycleState)The tagnamespace’s current state.TagNamespaceSummary.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.TagNamespaceSummary.Buildername(String name)The name of the tag namespace.TagNamespaceSummary.BuildertimeCreated(Date timeCreated)Date and time the tag namespace was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public TagNamespaceSummary.Builder id(String id)
The OCID of the tag namespace.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public TagNamespaceSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the tag namespace.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
name
public 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.
- Parameters:
name- the value to set- Returns:
- this builder
-
description
public TagNamespaceSummary.Builder description(String description)
The description you assign to the tag namespace.- Parameters:
description- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
isRetired
public TagNamespaceSummary.Builder isRetired(Boolean isRetired)
Whether the tag namespace is retired.For more information, see Retiring Key Definitions and Namespace Definitions.
- Parameters:
isRetired- the value to set- Returns:
- this builder
-
lifecycleState
public 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.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
locks
public TagNamespaceSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
build
public TagNamespaceSummary build()
-
copy
public TagNamespaceSummary.Builder copy(TagNamespaceSummary model)
-
-