Class TypeLibrary.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.TypeLibrary.Builder
-
- Enclosing class:
- TypeLibrary
public static class TypeLibrary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeLibrary
build()
TypeLibrary.Builder
copy(TypeLibrary model)
TypeLibrary.Builder
description(String description)
A user defined description for the object.TypeLibrary.Builder
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.TypeLibrary.Builder
key(String key)
The key of the object.TypeLibrary.Builder
modelType(String modelType)
The type of the object.TypeLibrary.Builder
modelVersion(String modelVersion)
The model version of an object.TypeLibrary.Builder
name(String name)
Free form text without any restriction on permitted characters.TypeLibrary.Builder
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.TypeLibrary.Builder
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.TypeLibrary.Builder
parentRef(ParentReference parentRef)
TypeLibrary.Builder
types(Map<String,DerivedType> types)
types
-
-
-
Method Detail
-
key
public TypeLibrary.Builder key(String key)
The key of the object.- Parameters:
key
- the value to set- Returns:
- this builder
-
modelType
public TypeLibrary.Builder modelType(String modelType)
The type of the object.- Parameters:
modelType
- the value to set- Returns:
- this builder
-
modelVersion
public TypeLibrary.Builder modelVersion(String modelVersion)
The model version of an object.- Parameters:
modelVersion
- the value to set- Returns:
- this builder
-
parentRef
public TypeLibrary.Builder parentRef(ParentReference parentRef)
-
name
public TypeLibrary.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 TypeLibrary.Builder description(String description)
A user defined description for the object.- Parameters:
description
- the value to set- Returns:
- this builder
-
objectVersion
public TypeLibrary.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
-
types
public TypeLibrary.Builder types(Map<String,DerivedType> types)
types- Parameters:
types
- the value to set- Returns:
- this builder
-
objectStatus
public TypeLibrary.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 TypeLibrary.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
-
build
public TypeLibrary build()
-
copy
public TypeLibrary.Builder copy(TypeLibrary model)
-
-