Class UserDefinedFunction.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.UserDefinedFunction.Builder
-
- Enclosing class:
- UserDefinedFunction
public static class UserDefinedFunction.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserDefinedFunction
build()
UserDefinedFunction.Builder
copy(UserDefinedFunction model)
UserDefinedFunction.Builder
description(String description)
Detailed description for the object.UserDefinedFunction.Builder
expr(Expression expr)
UserDefinedFunction.Builder
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.UserDefinedFunction.Builder
key(String key)
Generated key that can be used in API calls to identify user defined function.UserDefinedFunction.Builder
keyMap(Map<String,String> keyMap)
A key map.UserDefinedFunction.Builder
metadata(ObjectMetadata metadata)
UserDefinedFunction.Builder
modelType(UserDefinedFunction.ModelType modelType)
The type of the object.UserDefinedFunction.Builder
modelVersion(String modelVersion)
The model version of an object.UserDefinedFunction.Builder
name(String name)
Free form text without any restriction on permitted characters.UserDefinedFunction.Builder
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.UserDefinedFunction.Builder
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.UserDefinedFunction.Builder
parentRef(ParentReference parentRef)
UserDefinedFunction.Builder
signatures(List<FunctionSignature> signatures)
An array of function signature.
-
-
-
Method Detail
-
key
public UserDefinedFunction.Builder key(String key)
Generated key that can be used in API calls to identify user defined function.On scenarios where reference to the user defined function is needed, a value can be passed in create.
- Parameters:
key
- the value to set- Returns:
- this builder
-
modelType
public UserDefinedFunction.Builder modelType(UserDefinedFunction.ModelType modelType)
The type of the object.- Parameters:
modelType
- the value to set- Returns:
- this builder
-
modelVersion
public UserDefinedFunction.Builder modelVersion(String modelVersion)
The model version of an object.- Parameters:
modelVersion
- the value to set- Returns:
- this builder
-
parentRef
public UserDefinedFunction.Builder parentRef(ParentReference parentRef)
-
name
public UserDefinedFunction.Builder name(String name)
Free form text without any restriction on permitted characters.Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
- Parameters:
name
- the value to set- Returns:
- this builder
-
identifier
public UserDefinedFunction.Builder identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.It should begin with upper case letter or underscore. The value can be modified.
- Parameters:
identifier
- the value to set- Returns:
- this builder
-
objectVersion
public UserDefinedFunction.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.- Parameters:
objectVersion
- the value to set- Returns:
- this builder
-
signatures
public UserDefinedFunction.Builder signatures(List<FunctionSignature> signatures)
An array of function signature.- Parameters:
signatures
- the value to set- Returns:
- this builder
-
expr
public UserDefinedFunction.Builder expr(Expression expr)
-
description
public UserDefinedFunction.Builder description(String description)
Detailed description for the object.- Parameters:
description
- the value to set- Returns:
- this builder
-
objectStatus
public UserDefinedFunction.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.- Parameters:
objectStatus
- the value to set- Returns:
- this builder
-
metadata
public UserDefinedFunction.Builder metadata(ObjectMetadata metadata)
-
keyMap
public UserDefinedFunction.Builder keyMap(Map<String,String> keyMap)
A key map.If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
- Parameters:
keyMap
- the value to set- Returns:
- this builder
-
build
public UserDefinedFunction build()
-
copy
public UserDefinedFunction.Builder copy(UserDefinedFunction model)
-
-