Class DataEntityFromSql.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.DataEntityFromSql.Builder
-
- Enclosing class:
- DataEntityFromSql
public static class DataEntityFromSql.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataEntityFromSql
build()
DataEntityFromSql.Builder
copy(DataEntityFromSql model)
DataEntityFromSql.Builder
description(String description)
Detailed description for the object.DataEntityFromSql.Builder
entityType(DataEntityFromSql.EntityType entityType)
The entity type.DataEntityFromSql.Builder
externalKey(String externalKey)
The external key for the objectDataEntityFromSql.Builder
foreignKeys(List<ForeignKey> foreignKeys)
An array of foreign keys.DataEntityFromSql.Builder
identifier(String identifier)
Value can only contain upper case letters, underscore and numbers.DataEntityFromSql.Builder
key(String key)
The object key.DataEntityFromSql.Builder
metadata(ObjectMetadata metadata)
DataEntityFromSql.Builder
modelVersion(String modelVersion)
The object’s model version.DataEntityFromSql.Builder
name(String name)
Free form text without any restriction on permitted characters.DataEntityFromSql.Builder
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.DataEntityFromSql.Builder
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.DataEntityFromSql.Builder
otherTypeLabel(String otherTypeLabel)
Specifies other type label.DataEntityFromSql.Builder
parentRef(ParentReference parentRef)
DataEntityFromSql.Builder
resourceName(String resourceName)
The resource name.DataEntityFromSql.Builder
shape(Shape shape)
DataEntityFromSql.Builder
shapeId(String shapeId)
The shape ID.DataEntityFromSql.Builder
sqlQuery(String sqlQuery)
sqlQueryDataEntityFromSql.Builder
uniqueKeys(List<UniqueKey> uniqueKeys)
An array of unique keys.
-
-
-
Method Detail
-
metadata
public DataEntityFromSql.Builder metadata(ObjectMetadata metadata)
-
key
public DataEntityFromSql.Builder key(String key)
The object key.- Parameters:
key
- the value to set- Returns:
- this builder
-
modelVersion
public DataEntityFromSql.Builder modelVersion(String modelVersion)
The object’s model version.- Parameters:
modelVersion
- the value to set- Returns:
- this builder
-
parentRef
public DataEntityFromSql.Builder parentRef(ParentReference parentRef)
-
name
public DataEntityFromSql.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 DataEntityFromSql.Builder description(String description)
Detailed description for the object.- Parameters:
description
- the value to set- Returns:
- this builder
-
objectVersion
public DataEntityFromSql.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 DataEntityFromSql.Builder externalKey(String externalKey)
The external key for the object- Parameters:
externalKey
- the value to set- Returns:
- this builder
-
shape
public DataEntityFromSql.Builder shape(Shape shape)
-
shapeId
public DataEntityFromSql.Builder shapeId(String shapeId)
The shape ID.- Parameters:
shapeId
- the value to set- Returns:
- this builder
-
entityType
public DataEntityFromSql.Builder entityType(DataEntityFromSql.EntityType entityType)
The entity type.- Parameters:
entityType
- the value to set- Returns:
- this builder
-
otherTypeLabel
public DataEntityFromSql.Builder otherTypeLabel(String otherTypeLabel)
Specifies other type label.- Parameters:
otherTypeLabel
- the value to set- Returns:
- this builder
-
uniqueKeys
public DataEntityFromSql.Builder uniqueKeys(List<UniqueKey> uniqueKeys)
An array of unique keys.- Parameters:
uniqueKeys
- the value to set- Returns:
- this builder
-
foreignKeys
public DataEntityFromSql.Builder foreignKeys(List<ForeignKey> foreignKeys)
An array of foreign keys.- Parameters:
foreignKeys
- the value to set- Returns:
- this builder
-
resourceName
public DataEntityFromSql.Builder resourceName(String resourceName)
The resource name.- Parameters:
resourceName
- the value to set- Returns:
- this builder
-
objectStatus
public DataEntityFromSql.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 DataEntityFromSql.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
-
sqlQuery
public DataEntityFromSql.Builder sqlQuery(String sqlQuery)
sqlQuery- Parameters:
sqlQuery
- the value to set- Returns:
- this builder
-
build
public DataEntityFromSql build()
-
copy
public DataEntityFromSql.Builder copy(DataEntityFromSql model)
-
-