Class VariableDefinition.Builder
- java.lang.Object
- 
- com.oracle.bmc.loganalytics.model.VariableDefinition.Builder
 
- 
- Enclosing class:
- VariableDefinition
 
 public static class VariableDefinition.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableDefinitionbuild()VariableDefinition.Buildercopy(VariableDefinition model)VariableDefinition.BuilderdefaultValue(String defaultValue)Default value of the variable is not already set.VariableDefinition.Builderdescription(String description)Descripion of the variable to show the user.VariableDefinition.Buildername(String name)Name of the variable preceded by a $.VariableDefinition.Builderproperties(List<PropertyDefinition> properties)Optional list of properties for the variable.VariableDefinition.Buildertype(VariableDefinition.Type type)Type of the variable to show the user.
 
- 
- 
- 
Method Detail- 
namepublic VariableDefinition.Builder name(String name) Name of the variable preceded by a $.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic VariableDefinition.Builder description(String description) Descripion of the variable to show the user.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
typepublic VariableDefinition.Builder type(VariableDefinition.Type type) Type of the variable to show the user.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
defaultValuepublic VariableDefinition.Builder defaultValue(String defaultValue) Default value of the variable is not already set.- Parameters:
- defaultValue- the value to set
- Returns:
- this builder
 
 - 
propertiespublic VariableDefinition.Builder properties(List<PropertyDefinition> properties) Optional list of properties for the variable.- Parameters:
- properties- the value to set
- Returns:
- this builder
 
 - 
buildpublic VariableDefinition build() 
 - 
copypublic VariableDefinition.Builder copy(VariableDefinition model) 
 
- 
 
-