Package com.oracle.bmc.oda.model
Class EntityAttribute.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.EntityAttribute.Builder
-
- Enclosing class:
- EntityAttribute
public static class EntityAttribute.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityAttribute
build()
EntityAttribute.Builder
copy(EntityAttribute model)
EntityAttribute.Builder
entityName(String entityName)
Name of referenced entity.EntityAttribute.Builder
isFuzzyMatch(Boolean isFuzzyMatch)
Is the entity attribute a fuzzy matchEntityAttribute.Builder
isInvertComparisons(Boolean isInvertComparisons)
Are comparisons inverted in the entity attributeEntityAttribute.Builder
isMultiValue(Boolean isMultiValue)
Is the entity attribute multi-valueEntityAttribute.Builder
name(String name)
The name of an entity attributeEntityAttribute.Builder
naturalLanguageMapping(EntityAttributeNaturalLanguageMapping naturalLanguageMapping)
EntityAttribute.Builder
temporalPreference(TemporalPreference temporalPreference)
Temporal preference of an attributeEntityAttribute.Builder
type(EntityAttributeType type)
The type of an entity attribute
-
-
-
Method Detail
-
name
public EntityAttribute.Builder name(String name)
The name of an entity attribute- Parameters:
name
- the value to set- Returns:
- this builder
-
type
public EntityAttribute.Builder type(EntityAttributeType type)
The type of an entity attribute- Parameters:
type
- the value to set- Returns:
- this builder
-
naturalLanguageMapping
public EntityAttribute.Builder naturalLanguageMapping(EntityAttributeNaturalLanguageMapping naturalLanguageMapping)
-
isMultiValue
public EntityAttribute.Builder isMultiValue(Boolean isMultiValue)
Is the entity attribute multi-value- Parameters:
isMultiValue
- the value to set- Returns:
- this builder
-
isFuzzyMatch
public EntityAttribute.Builder isFuzzyMatch(Boolean isFuzzyMatch)
Is the entity attribute a fuzzy match- Parameters:
isFuzzyMatch
- the value to set- Returns:
- this builder
-
isInvertComparisons
public EntityAttribute.Builder isInvertComparisons(Boolean isInvertComparisons)
Are comparisons inverted in the entity attribute- Parameters:
isInvertComparisons
- the value to set- Returns:
- this builder
-
temporalPreference
public EntityAttribute.Builder temporalPreference(TemporalPreference temporalPreference)
Temporal preference of an attribute- Parameters:
temporalPreference
- the value to set- Returns:
- this builder
-
entityName
public EntityAttribute.Builder entityName(String entityName)
Name of referenced entity.- Parameters:
entityName
- the value to set- Returns:
- this builder
-
build
public EntityAttribute build()
-
copy
public EntityAttribute.Builder copy(EntityAttribute model)
-
-