Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Type |
build() |
Type.Builder |
catalogId(String catalogId)
The data catalog’s OCID.
|
Type.Builder |
copy(Type model) |
Type.Builder |
customProperties(List<CustomPropertySummary> customProperties)
Custom properties associated with this Type.
|
Type.Builder |
description(String description)
Detailed description of the type.
|
Type.Builder |
externalTypeName(String externalTypeName)
Mapping type equivalence in the external system.
|
Type.Builder |
isApproved(Boolean isApproved)
Indicates whether the type is approved for use as a classifying object.
|
Type.Builder |
isInternal(Boolean isInternal)
Indicates whether the type is internal, making it unavailable for use by metadata
elements.
|
Type.Builder |
isTag(Boolean isTag)
Indicates whether the type can be used for tagging metadata elements.
|
Type.Builder |
key(String key)
Unique type key that is immutable.
|
Type.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the type.
|
Type.Builder |
name(String name)
The immutable name of the type.
|
Type.Builder |
parentTypeKey(String parentTypeKey)
Unique key of the parent type.
|
Type.Builder |
parentTypeName(String parentTypeName)
Name of the parent type.
|
Type.Builder |
properties(Map<String,List<PropertyDefinition>> properties)
A map of arrays which defines the type specific properties, both required and optional.
|
Type.Builder |
typeCategory(String typeCategory)
Indicates the category this type belongs to.
|
Type.Builder |
uri(String uri)
URI to the type instance in the API.
|
public Type.Builder key(String key)
Unique type key that is immutable.
key
- the value to setpublic Type.Builder name(String name)
The immutable name of the type.
name
- the value to setpublic Type.Builder description(String description)
Detailed description of the type.
description
- the value to setpublic Type.Builder catalogId(String catalogId)
The data catalog’s OCID.
catalogId
- the value to setpublic Type.Builder properties(Map<String,List<PropertyDefinition>> properties)
A map of arrays which defines the type specific properties, both required and optional.
The map keys are category names and the values are arrays contiaing all property details.
Every property is contained inside of a category. Most types have required properties
within the “default” category. Example: { "properties": { "default": {
"attributes:": [ { "name": "host", "type": "string", "isRequired": true, "isUpdatable":
false }, … ] } } }
properties
- the value to setpublic Type.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the type.
lifecycleState
- the value to setpublic Type.Builder isInternal(Boolean isInternal)
Indicates whether the type is internal, making it unavailable for use by metadata elements.
isInternal
- the value to setpublic Type.Builder isTag(Boolean isTag)
Indicates whether the type can be used for tagging metadata elements.
isTag
- the value to setpublic Type.Builder isApproved(Boolean isApproved)
Indicates whether the type is approved for use as a classifying object.
isApproved
- the value to setpublic Type.Builder typeCategory(String typeCategory)
Indicates the category this type belongs to. For instance, data assets, connections.
typeCategory
- the value to setpublic Type.Builder externalTypeName(String externalTypeName)
Mapping type equivalence in the external system.
externalTypeName
- the value to setpublic Type.Builder uri(String uri)
URI to the type instance in the API.
uri
- the value to setpublic Type.Builder customProperties(List<CustomPropertySummary> customProperties)
Custom properties associated with this Type.
customProperties
- the value to setpublic Type.Builder parentTypeKey(String parentTypeKey)
Unique key of the parent type.
parentTypeKey
- the value to setpublic Type.Builder parentTypeName(String parentTypeName)
Name of the parent type.
parentTypeName
- the value to setpublic Type build()
public Type.Builder copy(Type model)
Copyright © 2016–2024. All rights reserved.