Class VariableDefinition.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.VariableDefinition.Builder
-
- Enclosing class:
- VariableDefinition
public static class VariableDefinition.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableDefinition
build()
VariableDefinition.Builder
copy(VariableDefinition model)
VariableDefinition.Builder
defaultValue(String defaultValue)
Default value of the variable is not already set.VariableDefinition.Builder
description(String description)
Descripion of the variable to show the user.VariableDefinition.Builder
name(String name)
Name of the variable preceded by a $.VariableDefinition.Builder
properties(List<PropertyDefinition> properties)
Optional list of properties for the variable.VariableDefinition.Builder
type(VariableDefinition.Type type)
Type of the variable to show the user.
-
-
-
Method Detail
-
name
public VariableDefinition.Builder name(String name)
Name of the variable preceded by a $.- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public VariableDefinition.Builder description(String description)
Descripion of the variable to show the user.- Parameters:
description
- the value to set- Returns:
- this builder
-
type
public VariableDefinition.Builder type(VariableDefinition.Type type)
Type of the variable to show the user.- Parameters:
type
- the value to set- Returns:
- this builder
-
defaultValue
public VariableDefinition.Builder defaultValue(String defaultValue)
Default value of the variable is not already set.- Parameters:
defaultValue
- the value to set- Returns:
- this builder
-
properties
public VariableDefinition.Builder properties(List<PropertyDefinition> properties)
Optional list of properties for the variable.- Parameters:
properties
- the value to set- Returns:
- this builder
-
build
public VariableDefinition build()
-
copy
public VariableDefinition.Builder copy(VariableDefinition model)
-
-