Package com.oracle.bmc.datacatalog.model
Class CustomPropertySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.CustomPropertySummary.Builder
-
- Enclosing class:
- CustomPropertySummary
public static class CustomPropertySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomPropertySummary.BuilderallowedValues(List<String> allowedValues)Allowed values for the custom property if anyCustomPropertySummarybuild()CustomPropertySummary.Buildercopy(CustomPropertySummary model)CustomPropertySummary.BuildercreatedById(String createdById)OCID of the user who created the custom property.CustomPropertySummary.BuilderdataType(CustomPropertyDataType dataType)Data type of the custom propertyCustomPropertySummary.Builderdescription(String description)Description of the custom propertyCustomPropertySummary.BuilderdisplayName(String displayName)Display name of the custom propertyCustomPropertySummary.Builderevents(List<EventConfig> events)Event configuration for this custom property, against the desired subset of object types to which the property applies.CustomPropertySummary.BuilderisEditable(Boolean isEditable)If this field is a editable fieldCustomPropertySummary.BuilderisEventEnabled(Boolean isEventEnabled)If an OCI Event will be emitted when the custom property is modified.CustomPropertySummary.BuilderisFilterable(Boolean isFilterable)If this field allows to filter or create facets from UICustomPropertySummary.BuilderisHidden(Boolean isHidden)If this field is a hidden fieldCustomPropertySummary.BuilderisHiddenInSearch(Boolean isHiddenInSearch)If this field is allowed to pop in search resultsCustomPropertySummary.BuilderisMultiValued(Boolean isMultiValued)If this field allows multiple values to be setCustomPropertySummary.BuilderisServiceDefined(Boolean isServiceDefined)If this field is defined by service or by a userCustomPropertySummary.BuilderisShownInList(Boolean isShownInList)If this field is displayed in a list view of applicable objects.CustomPropertySummary.BuilderisSortable(Boolean isSortable)If this field allows to sort from UICustomPropertySummary.Builderkey(String key)Unique custom property key that is immutable.CustomPropertySummary.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the custom property.CustomPropertySummary.BuildernamespaceName(String namespaceName)Namespace name of the custom propertyCustomPropertySummary.Builderscope(List<CustomPropertyTypeUsage> scope)Type or scope of the custom property belongs to.CustomPropertySummary.BuildertimeCreated(Date timeCreated)The date and time the custom property was created, in the format defined by RFC3339.CustomPropertySummary.BuildertimeUpdated(Date timeUpdated)The last time that any change was made to the custom property.CustomPropertySummary.BuilderupdatedById(String updatedById)OCID of the user who last modified the custom property.CustomPropertySummary.BuilderusageCount(Integer usageCount)Total number of first class objects using this custom property
-
-
-
Method Detail
-
key
public CustomPropertySummary.Builder key(String key)
Unique custom property key that is immutable.- Parameters:
key- the value to set- Returns:
- this builder
-
displayName
public CustomPropertySummary.Builder displayName(String displayName)
Display name of the custom property- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CustomPropertySummary.Builder description(String description)
Description of the custom property- Parameters:
description- the value to set- Returns:
- this builder
-
dataType
public CustomPropertySummary.Builder dataType(CustomPropertyDataType dataType)
Data type of the custom property- Parameters:
dataType- the value to set- Returns:
- this builder
-
namespaceName
public CustomPropertySummary.Builder namespaceName(String namespaceName)
Namespace name of the custom property- Parameters:
namespaceName- the value to set- Returns:
- this builder
-
isSortable
public CustomPropertySummary.Builder isSortable(Boolean isSortable)
If this field allows to sort from UI- Parameters:
isSortable- the value to set- Returns:
- this builder
-
isFilterable
public CustomPropertySummary.Builder isFilterable(Boolean isFilterable)
If this field allows to filter or create facets from UI- Parameters:
isFilterable- the value to set- Returns:
- this builder
-
isMultiValued
public CustomPropertySummary.Builder isMultiValued(Boolean isMultiValued)
If this field allows multiple values to be set- Parameters:
isMultiValued- the value to set- Returns:
- this builder
-
isHidden
public CustomPropertySummary.Builder isHidden(Boolean isHidden)
If this field is a hidden field- Parameters:
isHidden- the value to set- Returns:
- this builder
-
isEditable
public CustomPropertySummary.Builder isEditable(Boolean isEditable)
If this field is a editable field- Parameters:
isEditable- the value to set- Returns:
- this builder
-
isShownInList
public CustomPropertySummary.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
-
isServiceDefined
public CustomPropertySummary.Builder isServiceDefined(Boolean isServiceDefined)
If this field is defined by service or by a user- Parameters:
isServiceDefined- the value to set- Returns:
- this builder
-
isHiddenInSearch
public CustomPropertySummary.Builder isHiddenInSearch(Boolean isHiddenInSearch)
If this field is allowed to pop in search results- Parameters:
isHiddenInSearch- the value to set- Returns:
- this builder
-
timeCreated
public CustomPropertySummary.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
-
lifecycleState
public CustomPropertySummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the custom property.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
usageCount
public CustomPropertySummary.Builder usageCount(Integer usageCount)
Total number of first class objects using this custom property- Parameters:
usageCount- the value to set- Returns:
- this builder
-
scope
public CustomPropertySummary.Builder scope(List<CustomPropertyTypeUsage> scope)
Type or scope of the custom property belongs to.This will be an array of type id it will be belongs to
- Parameters:
scope- the value to set- Returns:
- this builder
-
allowedValues
public CustomPropertySummary.Builder allowedValues(List<String> allowedValues)
Allowed values for the custom property if any- Parameters:
allowedValues- the value to set- Returns:
- this builder
-
timeUpdated
public CustomPropertySummary.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
-
createdById
public CustomPropertySummary.Builder createdById(String createdById)
OCID of the user who created the custom property.- Parameters:
createdById- the value to set- Returns:
- this builder
-
updatedById
public CustomPropertySummary.Builder updatedById(String updatedById)
OCID of the user who last modified the custom property.- Parameters:
updatedById- the value to set- Returns:
- this builder
-
isEventEnabled
public CustomPropertySummary.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
-
events
public CustomPropertySummary.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
-
build
public CustomPropertySummary build()
-
copy
public CustomPropertySummary.Builder copy(CustomPropertySummary model)
-
-