Package com.oracle.bmc.datacatalog.model
Class CustomProperty.Builder
- java.lang.Object
- 
- com.oracle.bmc.datacatalog.model.CustomProperty.Builder
 
- 
- Enclosing class:
- CustomProperty
 
 public static class CustomProperty.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomProperty.BuilderallowedValues(List<String> allowedValues)Allowed values for the custom property if anyCustomPropertybuild()CustomProperty.Buildercopy(CustomProperty model)CustomProperty.BuildercreatedById(String createdById)OCID of the user who created the custom property.CustomProperty.BuilderdataType(CustomPropertyDataType dataType)Data type of the custom propertyCustomProperty.Builderdescription(String description)Description for the custom propertyCustomProperty.BuilderdisplayName(String displayName)Display name of the custom propertyCustomProperty.Builderevents(List<EventConfig> events)Event configuration for this custom property, against the desired subset of object types to which the property applies.CustomProperty.BuilderisEditable(Boolean isEditable)If this field is a editable fieldCustomProperty.BuilderisEventEnabled(Boolean isEventEnabled)If an OCI Event will be emitted when the custom property is modified.CustomProperty.BuilderisFilterable(Boolean isFilterable)If this field allows to filter or create facets from UICustomProperty.BuilderisHidden(Boolean isHidden)If this field is a hidden fieldCustomProperty.BuilderisHiddenInSearch(Boolean isHiddenInSearch)If this field is allowed to pop in search resultsCustomProperty.BuilderisListType(Boolean isListType)Is this property allowed to have list of valuesCustomProperty.BuilderisMultiValued(Boolean isMultiValued)If this field allows multiple values to be setCustomProperty.BuilderisServiceDefined(Boolean isServiceDefined)If this field is defined by service or by a userCustomProperty.BuilderisShownInList(Boolean isShownInList)If this field is displayed in a list view of applicable objects.CustomProperty.BuilderisSortable(Boolean isSortable)If this field allows to sort from UICustomProperty.Builderkey(String key)Unique data asset key that is immutable.CustomProperty.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the custom property.CustomProperty.BuildernamespaceName(String namespaceName)Namespace name of the custom propertyCustomProperty.Builderproperties(Map<String,Map<String,String>> properties)A map of maps that contains the properties which are specific to the asset type.CustomProperty.Builderscope(List<CustomPropertyTypeUsage> scope)The set of object types to which the custom property applies.CustomProperty.BuildertimeCreated(Date timeCreated)The date and time the custom property was created, in the format defined by RFC3339.CustomProperty.BuildertimeUpdated(Date timeUpdated)The last time that any change was made to the custom property.CustomProperty.BuilderupdatedById(String updatedById)OCID of the user who last modified the custom property.CustomProperty.BuilderusageCount(Integer usageCount)Total number of first class objects using this custom property
 
- 
- 
- 
Method Detail- 
keypublic CustomProperty.Builder key(String key) Unique data asset key that is immutable.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CustomProperty.Builder displayName(String displayName) Display name of the custom property- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
dataTypepublic CustomProperty.Builder dataType(CustomPropertyDataType dataType) Data type of the custom property- Parameters:
- dataType- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CustomProperty.Builder description(String description) Description for the custom property- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
namespaceNamepublic CustomProperty.Builder namespaceName(String namespaceName) Namespace name of the custom property- Parameters:
- namespaceName- the value to set
- Returns:
- this builder
 
 - 
isListTypepublic CustomProperty.Builder isListType(Boolean isListType) Is this property allowed to have list of values- Parameters:
- isListType- the value to set
- Returns:
- this builder
 
 - 
isSortablepublic CustomProperty.Builder isSortable(Boolean isSortable) If this field allows to sort from UI- Parameters:
- isSortable- the value to set
- Returns:
- this builder
 
 - 
isFilterablepublic CustomProperty.Builder isFilterable(Boolean isFilterable) If this field allows to filter or create facets from UI- Parameters:
- isFilterable- the value to set
- Returns:
- this builder
 
 - 
isMultiValuedpublic CustomProperty.Builder isMultiValued(Boolean isMultiValued) If this field allows multiple values to be set- Parameters:
- isMultiValued- the value to set
- Returns:
- this builder
 
 - 
isHiddenpublic CustomProperty.Builder isHidden(Boolean isHidden) If this field is a hidden field- Parameters:
- isHidden- the value to set
- Returns:
- this builder
 
 - 
isEditablepublic CustomProperty.Builder isEditable(Boolean isEditable) If this field is a editable field- Parameters:
- isEditable- the value to set
- Returns:
- this builder
 
 - 
isShownInListpublic CustomProperty.Builder isShownInList(Boolean isShownInList) If this field is displayed in a list view of applicable objects.- Parameters:
- isShownInList- the value to set
- Returns:
- this builder
 
 - 
isServiceDefinedpublic CustomProperty.Builder isServiceDefined(Boolean isServiceDefined) If this field is defined by service or by a user- Parameters:
- isServiceDefined- the value to set
- Returns:
- this builder
 
 - 
isHiddenInSearchpublic CustomProperty.Builder isHiddenInSearch(Boolean isHiddenInSearch) If this field is allowed to pop in search results- Parameters:
- isHiddenInSearch- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic CustomProperty.Builder lifecycleState(LifecycleState lifecycleState) The current state of the custom property.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic CustomProperty.Builder timeCreated(Date timeCreated) The date and time the custom property was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic CustomProperty.Builder timeUpdated(Date timeUpdated) The last time that any change was made to the custom property.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
createdByIdpublic CustomProperty.Builder createdById(String createdById) OCID of the user who created the custom property.- Parameters:
- createdById- the value to set
- Returns:
- this builder
 
 - 
updatedByIdpublic CustomProperty.Builder updatedById(String updatedById) OCID of the user who last modified the custom property.- Parameters:
- updatedById- the value to set
- Returns:
- this builder
 
 - 
usageCountpublic CustomProperty.Builder usageCount(Integer usageCount) Total number of first class objects using this custom property- Parameters:
- usageCount- the value to set
- Returns:
- this builder
 
 - 
isEventEnabledpublic CustomProperty.Builder isEventEnabled(Boolean isEventEnabled) If an OCI Event will be emitted when the custom property is modified.- Parameters:
- isEventEnabled- the value to set
- Returns:
- this builder
 
 - 
scopepublic CustomProperty.Builder scope(List<CustomPropertyTypeUsage> scope) The set of object types to which the custom property applies.- Parameters:
- scope- the value to set
- Returns:
- this builder
 
 - 
allowedValuespublic CustomProperty.Builder allowedValues(List<String> allowedValues) Allowed values for the custom property if any- Parameters:
- allowedValues- the value to set
- Returns:
- this builder
 
 - 
eventspublic CustomProperty.Builder events(List<EventConfig> events) Event configuration for this custom property, against the desired subset of object types to which the property applies.- Parameters:
- events- the value to set
- Returns:
- this builder
 
 - 
propertiespublic CustomProperty.Builder properties(Map<String,Map<String,String>> properties) A map of maps that contains the properties which are specific to the asset type.Each data asset type definition defines it’s set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the “default” category. Example: {“properties”: { “default”: { “host”: “host1”, “port”: “1521”, “database”: “orcl”}}} - Parameters:
- properties- the value to set
- Returns:
- this builder
 
 - 
buildpublic CustomProperty build() 
 - 
copypublic CustomProperty.Builder copy(CustomProperty model) 
 
- 
 
-