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