public static class TagDefault.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TagDefault |
build() |
TagDefault.Builder |
copy(TagDefault model) |
TagDefault.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 default).
|
TagDefault.Builder |
tagName(String tagName)
The name of the tag.
|
TagDefault.Builder |
value(String value)
The default value for the tag name.
|
public TagDefault.Builder tagName(String tagName)
The name of the tag. The tag default will always assign a default value for this tag name.
tagName
- the value to setpublic TagDefault.Builder value(String value)
The default value for the tag name. This will be applied to all new resources created in the compartment.
value
- the value to setpublic TagDefault.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 default). 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 TagDefault build()
public TagDefault.Builder copy(TagDefault model)
Copyright © 2016–2025. All rights reserved.