public static class MacroField.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MacroField |
build() |
MacroField.Builder |
configValues(ConfigValues configValues) |
MacroField.Builder |
copy(MacroField model) |
MacroField.Builder |
description(String description) |
MacroField.Builder |
expr(Expression expr) |
MacroField.Builder |
isUseSourceType(Boolean isUseSourceType)
Specifies whether the type of macro fields is inferred from an expression or useType
(false) or the source field (true).
|
MacroField.Builder |
key(String key) |
MacroField.Builder |
labels(List<String> labels)
Labels are keywords or labels that you can add to data assets, dataflows, and so on.
|
MacroField.Builder |
modelVersion(String modelVersion) |
MacroField.Builder |
name(String name) |
MacroField.Builder |
objectStatus(Integer objectStatus) |
MacroField.Builder |
parentRef(ParentReference parentRef) |
MacroField.Builder |
type(BaseType type) |
MacroField.Builder |
useType(ConfiguredType useType) |
public MacroField.Builder key(String key)
public MacroField.Builder modelVersion(String modelVersion)
public MacroField.Builder parentRef(ParentReference parentRef)
public MacroField.Builder configValues(ConfigValues configValues)
public MacroField.Builder objectStatus(Integer objectStatus)
public MacroField.Builder name(String name)
public MacroField.Builder description(String description)
public MacroField.Builder expr(Expression expr)
public MacroField.Builder type(BaseType type)
public MacroField.Builder isUseSourceType(Boolean isUseSourceType)
Specifies whether the type of macro fields is inferred from an expression or useType (false) or the source field (true).
isUseSourceType
- the value to setpublic MacroField.Builder useType(ConfiguredType useType)
public MacroField.Builder labels(List<String> labels)
Labels are keywords or labels that you can add to data assets, dataflows, and so on. You can define your own labels and use them to categorize content.
labels
- the value to setpublic MacroField build()
public MacroField.Builder copy(MacroField model)
Copyright © 2016–2024. All rights reserved.