Package com.oracle.bmc.identity.model
Class TagDefaultSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.model.TagDefaultSummary.Builder
-
- Enclosing class:
- TagDefaultSummary
public static class TagDefaultSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagDefaultSummary
build()
TagDefaultSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.TagDefaultSummary.Builder
copy(TagDefaultSummary model)
TagDefaultSummary.Builder
id(String id)
The OCID of the tag default.TagDefaultSummary.Builder
isRequired(Boolean isRequired)
If you specify that a value is required, a value is set during resource creation (either by the user creating the resource or another tag defualt).TagDefaultSummary.Builder
lifecycleState(TagDefaultSummary.LifecycleState lifecycleState)
The tag default’s current state.TagDefaultSummary.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.TagDefaultSummary.Builder
tagDefinitionId(String tagDefinitionId)
The OCID of the tag definition.TagDefaultSummary.Builder
tagDefinitionName(String tagDefinitionName)
The name used in the tag definition.TagDefaultSummary.Builder
tagNamespaceId(String tagNamespaceId)
The OCID of the tag namespace that contains the tag definition.TagDefaultSummary.Builder
timeCreated(Date timeCreated)
Date and time the TagDefault object was created, in the format defined by RFC3339.TagDefaultSummary.Builder
value(String value)
The default value for the tag definition.
-
-
-
Method Detail
-
id
public TagDefaultSummary.Builder id(String id)
The OCID of the tag default.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public TagDefaultSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.The tag default will apply to all new resources that are created in the compartment.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
tagNamespaceId
public TagDefaultSummary.Builder tagNamespaceId(String tagNamespaceId)
The OCID of the tag namespace that contains the tag definition.- Parameters:
tagNamespaceId
- the value to set- Returns:
- this builder
-
tagDefinitionId
public TagDefaultSummary.Builder tagDefinitionId(String tagDefinitionId)
The OCID of the tag definition.The tag default will always assign a default value for this tag definition.
- Parameters:
tagDefinitionId
- the value to set- Returns:
- this builder
-
tagDefinitionName
public TagDefaultSummary.Builder tagDefinitionName(String tagDefinitionName)
The name used in the tag definition.This field is informational in the context of the tag default.
- Parameters:
tagDefinitionName
- the value to set- Returns:
- this builder
-
value
public TagDefaultSummary.Builder value(String value)
The default value for the tag definition.This will be applied to all new resources created in the compartment.
- Parameters:
value
- the value to set- Returns:
- this builder
-
timeCreated
public TagDefaultSummary.Builder timeCreated(Date timeCreated)
Date and time the TagDefault object was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public TagDefaultSummary.Builder lifecycleState(TagDefaultSummary.LifecycleState lifecycleState)
The tag default’s current state.After creating a TagDefault, make sure its lifecycleState is ACTIVE before using it.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
isRequired
public TagDefaultSummary.Builder isRequired(Boolean isRequired)
If you specify that a value is required, a value is set during resource creation (either by the user creating the resource or another tag defualt).If no value is set, resource creation is blocked.
If the isRequired flag is set to "true", the value is set during resource creation. * If the isRequired flag is set to "false", the value you enter is set during resource creation.
Example: false
- Parameters:
isRequired
- the value to set- Returns:
- this builder
-
locks
public TagDefaultSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public TagDefaultSummary build()
-
copy
public TagDefaultSummary.Builder copy(TagDefaultSummary model)
-
-