public static class UserDefinedFunction.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
key
- the value to setpublic UserDefinedFunction.Builder modelType(UserDefinedFunction.ModelType modelType)
The type of the object.
modelType
- the value to setpublic UserDefinedFunction.Builder modelVersion(String modelVersion)
The model version of an object.
modelVersion
- the value to setpublic UserDefinedFunction.Builder parentRef(ParentReference parentRef)
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.
name
- the value to setpublic 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.
identifier
- the value to setpublic UserDefinedFunction.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic UserDefinedFunction.Builder signatures(List<FunctionSignature> signatures)
An array of function signature.
signatures
- the value to setpublic UserDefinedFunction.Builder expr(Expression expr)
public UserDefinedFunction.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic 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.
objectStatus
- the value to setpublic UserDefinedFunction.Builder metadata(ObjectMetadata metadata)
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.
keyMap
- the value to setpublic UserDefinedFunction build()
public UserDefinedFunction.Builder copy(UserDefinedFunction model)
Copyright © 2016–2024. All rights reserved.