Class Schema.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.Schema.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Schema
build()
Schema.Builder
copy(Schema model)
Schema.Builder
defaultConnection(String defaultConnection)
The default connection key.Schema.Builder
description(String description)
User-defined description for the schema.Schema.Builder
externalKey(String externalKey)
The external key for the object.Schema.Builder
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.Schema.Builder
isHasContainers(Boolean isHasContainers)
Specifies whether the schema has containers.Schema.Builder
key(String key)
The object key.Schema.Builder
metadata(ObjectMetadata metadata)
Schema.Builder
modelType(String modelType)
The object’s type.Schema.Builder
modelVersion(String modelVersion)
The object’s model version.Schema.Builder
name(String name)
Free form text without any restriction on permitted characters.Schema.Builder
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.Schema.Builder
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.Schema.Builder
parentRef(ParentReference parentRef)
Schema.Builder
resourceName(String resourceName)
A resource name can have letters, numbers, and special characters.
-
-
-
Method Detail
-
key
public Schema.Builder key(String key)
The object key.- Parameters:
key
- the value to set- Returns:
- this builder
-
modelType
public Schema.Builder modelType(String modelType)
The object’s type.- Parameters:
modelType
- the value to set- Returns:
- this builder
-
modelVersion
public Schema.Builder modelVersion(String modelVersion)
The object’s model version.- Parameters:
modelVersion
- the value to set- Returns:
- this builder
-
parentRef
public Schema.Builder parentRef(ParentReference parentRef)
-
name
public Schema.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
-
resourceName
public Schema.Builder resourceName(String resourceName)
A resource name can have letters, numbers, and special characters.The value is editable and is restricted to 4000 characters.
- Parameters:
resourceName
- the value to set- Returns:
- this builder
-
description
public Schema.Builder description(String description)
User-defined description for the schema.- Parameters:
description
- the value to set- Returns:
- this builder
-
objectVersion
public Schema.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
-
externalKey
public Schema.Builder externalKey(String externalKey)
The external key for the object.- Parameters:
externalKey
- the value to set- Returns:
- this builder
-
isHasContainers
public Schema.Builder isHasContainers(Boolean isHasContainers)
Specifies whether the schema has containers.- Parameters:
isHasContainers
- the value to set- Returns:
- this builder
-
defaultConnection
public Schema.Builder defaultConnection(String defaultConnection)
The default connection key.- Parameters:
defaultConnection
- the value to set- Returns:
- this builder
-
objectStatus
public Schema.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 Schema.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
-
metadata
public Schema.Builder metadata(ObjectMetadata metadata)
-
build
public Schema build()
-
copy
public Schema.Builder copy(Schema model)
-
-