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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
keyNamepublic ConfigurationPropertySchema.Builder keyName(String keyName) Name of key (parameter name)- Parameters:
- keyName- the value to set
- Returns:
- this builder
 
 - 
valueTypepublic ConfigurationPropertySchema.Builder valueType(ConfigurationPropertySchema.ValueType valueType) Type of value- Parameters:
- valueType- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ConfigurationPropertySchema.Builder description(String description) Description of this configuration property- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
isMandatorypublic 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
 
 - 
defaultValuepublic 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
 
 - 
validationRegexppublic 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
 
 - 
sampleValuepublic 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
 
 - 
buildpublic ConfigurationPropertySchema build() 
 - 
copypublic ConfigurationPropertySchema.Builder copy(ConfigurationPropertySchema model) 
 
- 
 
-