Class FunctionLibrary.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.FunctionLibrary.Builder
-
- Enclosing class:
- FunctionLibrary
public static class FunctionLibrary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
key
public FunctionLibrary.Builder key(String key)
Generated key that can be used in API calls to identify FunctionLibrary.- Parameters:
key
- the value to set- Returns:
- this builder
-
modelType
public FunctionLibrary.Builder modelType(FunctionLibrary.ModelType modelType)
The type of the object.- Parameters:
modelType
- the value to set- Returns:
- this builder
-
modelVersion
public FunctionLibrary.Builder modelVersion(String modelVersion)
The model version of an object.- Parameters:
modelVersion
- the value to set- Returns:
- this builder
-
name
public 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.
- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public FunctionLibrary.Builder description(String description)
A user defined description for the Function Library.- Parameters:
description
- the value to set- Returns:
- this builder
-
categoryName
public FunctionLibrary.Builder categoryName(String categoryName)
The category name.- Parameters:
categoryName
- the value to set- Returns:
- this builder
-
objectStatus
public 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.- Parameters:
objectStatus
- the value to set- Returns:
- this builder
-
identifier
public 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.
- Parameters:
identifier
- the value to set- Returns:
- this builder
-
parentRef
public FunctionLibrary.Builder parentRef(ParentReference parentRef)
-
objectVersion
public FunctionLibrary.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
-
metadata
public FunctionLibrary.Builder metadata(ObjectMetadata metadata)
-
keyMap
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.
- Parameters:
keyMap
- the value to set- Returns:
- this builder
-
build
public FunctionLibrary build()
-
copy
public FunctionLibrary.Builder copy(FunctionLibrary model)
-
-