Package com.oracle.bmc.identity.model
Class CreateTagDefaultDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.model.CreateTagDefaultDetails.Builder
-
- Enclosing class:
- CreateTagDefaultDetails
public static class CreateTagDefaultDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTagDefaultDetails
build()
CreateTagDefaultDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment.CreateTagDefaultDetails.Builder
copy(CreateTagDefaultDetails model)
CreateTagDefaultDetails.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).CreateTagDefaultDetails.Builder
locks(List<AddLockDetails> locks)
Locks associated with this resource.CreateTagDefaultDetails.Builder
tagDefinitionId(String tagDefinitionId)
The OCID of the tag definition.CreateTagDefaultDetails.Builder
value(String value)
The default value for the tag definition.
-
-
-
Method Detail
-
compartmentId
public CreateTagDefaultDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.The tag default will be applied to all new resources created in this compartment.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
tagDefinitionId
public CreateTagDefaultDetails.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
-
value
public CreateTagDefaultDetails.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
-
isRequired
public CreateTagDefaultDetails.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 CreateTagDefaultDetails.Builder locks(List<AddLockDetails> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public CreateTagDefaultDetails build()
-
copy
public CreateTagDefaultDetails.Builder copy(CreateTagDefaultDetails model)
-
-