Class PropertyDefinition.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.PropertyDefinition.Builder
-
- Enclosing class:
- PropertyDefinition
public static class PropertyDefinition.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyDefinitionbuild()PropertyDefinition.Buildercopy(PropertyDefinition model)PropertyDefinition.BuilderisGlobal(Boolean isGlobal)True if property is for all macros.PropertyDefinition.Buildername(String name)Name of the property.PropertyDefinition.Buildertype(PropertyDefinition.Type type)Type of the property.PropertyDefinition.Buildervalue(String value)Value of the property.
-
-
-
Method Detail
-
name
public PropertyDefinition.Builder name(String name)
Name of the property.- Parameters:
name- the value to set- Returns:
- this builder
-
value
public PropertyDefinition.Builder value(String value)
Value of the property.- Parameters:
value- the value to set- Returns:
- this builder
-
type
public PropertyDefinition.Builder type(PropertyDefinition.Type type)
Type of the property.- Parameters:
type- the value to set- Returns:
- this builder
-
isGlobal
public PropertyDefinition.Builder isGlobal(Boolean isGlobal)
True if property is for all macros.Not applicable for macro variables or query.
- Parameters:
isGlobal- the value to set- Returns:
- this builder
-
build
public PropertyDefinition build()
-
copy
public PropertyDefinition.Builder copy(PropertyDefinition model)
-
-