Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Variable |
build() |
Variable.Builder |
configValues(ConfigValues configValues) |
Variable.Builder |
copy(Variable model) |
Variable.Builder |
defaultValue(Object defaultValue)
A default value for the vairable.
|
Variable.Builder |
description(String description)
Detailed description for the object.
|
Variable.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
Variable.Builder |
key(String key)
Generated key that can be used in API calls to identify variable.
|
Variable.Builder |
modelType(String modelType)
The type of the object.
|
Variable.Builder |
modelVersion(String modelVersion)
This is a version number that is used by the service to upgrade objects if needed through
releases of the service.
|
Variable.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
Variable.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
Variable.Builder |
objectVersion(Integer objectVersion)
This is used by the service for optimistic locking of the object, to prevent multiple
users from simultaneously updating the object.
|
Variable.Builder |
parentRef(ParentReference parentRef) |
Variable.Builder |
rootObjectDefaultValue(RootObject rootObjectDefaultValue) |
Variable.Builder |
type(BaseType type) |
public Variable.Builder key(String key)
Generated key that can be used in API calls to identify variable. On scenarios where reference to the variable is needed, a value can be passed in create.
key
- the value to setpublic Variable.Builder modelVersion(String modelVersion)
This is a version number that is used by the service to upgrade objects if needed through releases of the service.
modelVersion
- the value to setpublic Variable.Builder modelType(String modelType)
The type of the object.
modelType
- the value to setpublic Variable.Builder parentRef(ParentReference parentRef)
public Variable.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.
name
- the value to setpublic Variable.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic Variable.Builder objectVersion(Integer objectVersion)
This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object.
objectVersion
- the value to setpublic Variable.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
objectStatus
- the value to setpublic Variable.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.
identifier
- the value to setpublic Variable.Builder type(BaseType type)
public Variable.Builder configValues(ConfigValues configValues)
public Variable.Builder defaultValue(Object defaultValue)
A default value for the vairable.
defaultValue
- the value to setpublic Variable.Builder rootObjectDefaultValue(RootObject rootObjectDefaultValue)
public Variable build()
public Variable.Builder copy(Variable model)
Copyright © 2016–2024. All rights reserved.