public static class CreateTagDefaultDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
compartmentId
- the value to setpublic CreateTagDefaultDetails.Builder tagDefinitionId(String tagDefinitionId)
The OCID of the tag definition. The tag default will always assign a default value for this tag definition.
tagDefinitionId
- the value to setpublic CreateTagDefaultDetails.Builder value(String value)
The default value for the tag definition. This will be applied to all new resources created in the compartment.
value
- the value to setpublic 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
isRequired
- the value to setpublic CreateTagDefaultDetails.Builder locks(List<AddLockDetails> locks)
Locks associated with this resource.
locks
- the value to setpublic CreateTagDefaultDetails build()
public CreateTagDefaultDetails.Builder copy(CreateTagDefaultDetails model)
Copyright © 2016–2024. All rights reserved.