Package com.oracle.bmc.datascience.model
Class ConfigurationPropertySchema.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.ConfigurationPropertySchema.Builder
-
- Enclosing class:
- ConfigurationPropertySchema
public static class ConfigurationPropertySchema.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationPropertySchemabuild()ConfigurationPropertySchema.Buildercopy(ConfigurationPropertySchema model)ConfigurationPropertySchema.BuilderdefaultValue(String defaultValue)The default value for the optional configuration property (it must not be specified for mandatory configuration properties)ConfigurationPropertySchema.Builderdescription(String description)Description of this configuration propertyConfigurationPropertySchema.BuilderisMandatory(Boolean isMandatory)If the value is true this configuration property is mandatory and visa versa.ConfigurationPropertySchema.BuilderkeyName(String keyName)Name of key (parameter name)ConfigurationPropertySchema.BuildersampleValue(String sampleValue)Sample property value (it must match validationRegexp if it is specified)ConfigurationPropertySchema.BuildervalidationRegexp(String validationRegexp)A regular expression will be used for the validation of property value.ConfigurationPropertySchema.BuildervalueType(ConfigurationPropertySchema.ValueType valueType)Type of value
-
-
-
Method Detail
-
keyName
public ConfigurationPropertySchema.Builder keyName(String keyName)
Name of key (parameter name)- Parameters:
keyName- the value to set- Returns:
- this builder
-
valueType
public ConfigurationPropertySchema.Builder valueType(ConfigurationPropertySchema.ValueType valueType)
Type of value- Parameters:
valueType- the value to set- Returns:
- this builder
-
description
public ConfigurationPropertySchema.Builder description(String description)
Description of this configuration property- Parameters:
description- the value to set- Returns:
- this builder
-
isMandatory
public ConfigurationPropertySchema.Builder isMandatory(Boolean isMandatory)
If the value is true this configuration property is mandatory and visa versa.If not specified configuration property is optional.
- Parameters:
isMandatory- the value to set- Returns:
- this builder
-
defaultValue
public ConfigurationPropertySchema.Builder defaultValue(String defaultValue)
The default value for the optional configuration property (it must not be specified for mandatory configuration properties)- Parameters:
defaultValue- the value to set- Returns:
- this builder
-
validationRegexp
public ConfigurationPropertySchema.Builder validationRegexp(String validationRegexp)
A regular expression will be used for the validation of property value.- Parameters:
validationRegexp- the value to set- Returns:
- this builder
-
sampleValue
public ConfigurationPropertySchema.Builder sampleValue(String sampleValue)
Sample property value (it must match validationRegexp if it is specified)- Parameters:
sampleValue- the value to set- Returns:
- this builder
-
build
public ConfigurationPropertySchema build()
-
copy
public ConfigurationPropertySchema.Builder copy(ConfigurationPropertySchema model)
-
-