public static class CustomPropertySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CustomPropertySummary.Builder |
allowedValues(List<String> allowedValues)
Allowed values for the custom property if any
|
CustomPropertySummary |
build() |
CustomPropertySummary.Builder |
copy(CustomPropertySummary model) |
CustomPropertySummary.Builder |
createdById(String createdById)
OCID of the user who created the custom property.
|
CustomPropertySummary.Builder |
dataType(CustomPropertyDataType dataType)
Data type of the custom property
|
CustomPropertySummary.Builder |
description(String description)
Description of the custom property
|
CustomPropertySummary.Builder |
displayName(String displayName)
Display name of the custom property
|
CustomPropertySummary.Builder |
events(List<EventConfig> events)
Event configuration for this custom property, against the desired subset of object types
to which the property applies.
|
CustomPropertySummary.Builder |
isEditable(Boolean isEditable)
If this field is a editable field
|
CustomPropertySummary.Builder |
isEventEnabled(Boolean isEventEnabled)
If an OCI Event will be emitted when the custom property is modified.
|
CustomPropertySummary.Builder |
isFilterable(Boolean isFilterable)
If this field allows to filter or create facets from UI
|
CustomPropertySummary.Builder |
isHidden(Boolean isHidden)
If this field is a hidden field
|
CustomPropertySummary.Builder |
isHiddenInSearch(Boolean isHiddenInSearch)
If this field is allowed to pop in search results
|
CustomPropertySummary.Builder |
isMultiValued(Boolean isMultiValued)
If this field allows multiple values to be set
|
CustomPropertySummary.Builder |
isServiceDefined(Boolean isServiceDefined)
If this field is defined by service or by a user
|
CustomPropertySummary.Builder |
isShownInList(Boolean isShownInList)
If this field is displayed in a list view of applicable objects.
|
CustomPropertySummary.Builder |
isSortable(Boolean isSortable)
If this field allows to sort from UI
|
CustomPropertySummary.Builder |
key(String key)
Unique custom property key that is immutable.
|
CustomPropertySummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the custom property.
|
CustomPropertySummary.Builder |
namespaceName(String namespaceName)
Namespace name of the custom property
|
CustomPropertySummary.Builder |
scope(List<CustomPropertyTypeUsage> scope)
Type or scope of the custom property belongs to.
|
CustomPropertySummary.Builder |
timeCreated(Date timeCreated)
The date and time the custom property was created, in the format defined by
RFC3339.
|
CustomPropertySummary.Builder |
timeUpdated(Date timeUpdated)
The last time that any change was made to the custom property.
|
CustomPropertySummary.Builder |
updatedById(String updatedById)
OCID of the user who last modified the custom property.
|
CustomPropertySummary.Builder |
usageCount(Integer usageCount)
Total number of first class objects using this custom property
|
public CustomPropertySummary.Builder key(String key)
Unique custom property key that is immutable.
key
- the value to setpublic CustomPropertySummary.Builder displayName(String displayName)
Display name of the custom property
displayName
- the value to setpublic CustomPropertySummary.Builder description(String description)
Description of the custom property
description
- the value to setpublic CustomPropertySummary.Builder dataType(CustomPropertyDataType dataType)
Data type of the custom property
dataType
- the value to setpublic CustomPropertySummary.Builder namespaceName(String namespaceName)
Namespace name of the custom property
namespaceName
- the value to setpublic CustomPropertySummary.Builder isSortable(Boolean isSortable)
If this field allows to sort from UI
isSortable
- the value to setpublic CustomPropertySummary.Builder isFilterable(Boolean isFilterable)
If this field allows to filter or create facets from UI
isFilterable
- the value to setpublic CustomPropertySummary.Builder isMultiValued(Boolean isMultiValued)
If this field allows multiple values to be set
isMultiValued
- the value to setpublic CustomPropertySummary.Builder isHidden(Boolean isHidden)
If this field is a hidden field
isHidden
- the value to setpublic CustomPropertySummary.Builder isEditable(Boolean isEditable)
If this field is a editable field
isEditable
- the value to setpublic CustomPropertySummary.Builder isShownInList(Boolean isShownInList)
If this field is displayed in a list view of applicable objects.
isShownInList
- the value to setpublic CustomPropertySummary.Builder isServiceDefined(Boolean isServiceDefined)
If this field is defined by service or by a user
isServiceDefined
- the value to setpublic CustomPropertySummary.Builder isHiddenInSearch(Boolean isHiddenInSearch)
If this field is allowed to pop in search results
isHiddenInSearch
- the value to setpublic 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
timeCreated
- the value to setpublic CustomPropertySummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the custom property.
lifecycleState
- the value to setpublic CustomPropertySummary.Builder usageCount(Integer usageCount)
Total number of first class objects using this custom property
usageCount
- the value to setpublic 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
scope
- the value to setpublic CustomPropertySummary.Builder allowedValues(List<String> allowedValues)
Allowed values for the custom property if any
allowedValues
- the value to setpublic CustomPropertySummary.Builder timeUpdated(Date timeUpdated)
The last time that any change was made to the custom property. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic CustomPropertySummary.Builder createdById(String createdById)
OCID of the user who created the custom property.
createdById
- the value to setpublic CustomPropertySummary.Builder updatedById(String updatedById)
OCID of the user who last modified the custom property.
updatedById
- the value to setpublic CustomPropertySummary.Builder isEventEnabled(Boolean isEventEnabled)
If an OCI Event will be emitted when the custom property is modified.
isEventEnabled
- the value to setpublic CustomPropertySummary.Builder events(List<EventConfig> events)
Event configuration for this custom property, against the desired subset of object types to which the property applies.
events
- the value to setpublic CustomPropertySummary build()
public CustomPropertySummary.Builder copy(CustomPropertySummary model)
Copyright © 2016–2024. All rights reserved.