public static class FunctionLibrary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FunctionLibrary |
build() |
FunctionLibrary.Builder |
categoryName(String categoryName)
The category name.
|
FunctionLibrary.Builder |
copy(FunctionLibrary model) |
FunctionLibrary.Builder |
description(String description)
A user defined description for the Function Library.
|
FunctionLibrary.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
FunctionLibrary.Builder |
key(String key)
Generated key that can be used in API calls to identify FunctionLibrary.
|
FunctionLibrary.Builder |
keyMap(Map<String,String> keyMap)
A key map.
|
FunctionLibrary.Builder |
metadata(ObjectMetadata metadata) |
FunctionLibrary.Builder |
modelType(FunctionLibrary.ModelType modelType)
The type of the object.
|
FunctionLibrary.Builder |
modelVersion(String modelVersion)
The model version of an object.
|
FunctionLibrary.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
FunctionLibrary.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
FunctionLibrary.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
FunctionLibrary.Builder |
parentRef(ParentReference parentRef) |
public FunctionLibrary.Builder key(String key)
Generated key that can be used in API calls to identify FunctionLibrary.
key
- the value to setpublic FunctionLibrary.Builder modelType(FunctionLibrary.ModelType modelType)
The type of the object.
modelType
- the value to setpublic FunctionLibrary.Builder modelVersion(String modelVersion)
The model version of an object.
modelVersion
- the value to setpublic FunctionLibrary.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 FunctionLibrary.Builder description(String description)
A user defined description for the Function Library.
description
- the value to setpublic FunctionLibrary.Builder categoryName(String categoryName)
The category name.
categoryName
- the value to setpublic FunctionLibrary.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 FunctionLibrary.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 FunctionLibrary.Builder parentRef(ParentReference parentRef)
public FunctionLibrary.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic FunctionLibrary.Builder metadata(ObjectMetadata metadata)
public FunctionLibrary.Builder keyMap(Map<String,String> keyMap)
A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
keyMap
- the value to setpublic FunctionLibrary build()
public FunctionLibrary.Builder copy(FunctionLibrary model)
Copyright © 2016–2024. All rights reserved.