Class SearchSchemaValue
java.lang.Object
com.azure.resourcemanager.loganalytics.models.SearchSchemaValue
Value object for schema results.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: The display name of the schema.booleanfacet()Get the facet property: The boolean that indicates whether or not the field is a facet.booleanindexed()Get the indexed property: The boolean that indicates the field is searchable as free text.name()Get the name property: The name of the schema.Get the ownerType property: The array of workflows containing the field.booleanstored()Get the stored property: The boolean that indicates whether or not the field is stored.type()Get the type property: The type.voidvalidate()Validates the instance.withDisplayName(String displayName) Set the displayName property: The display name of the schema.withFacet(boolean facet) Set the facet property: The boolean that indicates whether or not the field is a facet.withIndexed(boolean indexed) Set the indexed property: The boolean that indicates the field is searchable as free text.Set the name property: The name of the schema.withOwnerType(List<String> ownerType) Set the ownerType property: The array of workflows containing the field.withStored(boolean stored) Set the stored property: The boolean that indicates whether or not the field is stored.Set the type property: The type.
-
Constructor Details
-
SearchSchemaValue
public SearchSchemaValue()
-
-
Method Details
-
name
Get the name property: The name of the schema.- Returns:
- the name value.
-
withName
Set the name property: The name of the schema.- Parameters:
name- the name value to set.- Returns:
- the SearchSchemaValue object itself.
-
displayName
Get the displayName property: The display name of the schema.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the schema.- Parameters:
displayName- the displayName value to set.- Returns:
- the SearchSchemaValue object itself.
-
type
Get the type property: The type.- Returns:
- the type value.
-
withType
Set the type property: The type.- Parameters:
type- the type value to set.- Returns:
- the SearchSchemaValue object itself.
-
indexed
public boolean indexed()Get the indexed property: The boolean that indicates the field is searchable as free text.- Returns:
- the indexed value.
-
withIndexed
Set the indexed property: The boolean that indicates the field is searchable as free text.- Parameters:
indexed- the indexed value to set.- Returns:
- the SearchSchemaValue object itself.
-
stored
public boolean stored()Get the stored property: The boolean that indicates whether or not the field is stored.- Returns:
- the stored value.
-
withStored
Set the stored property: The boolean that indicates whether or not the field is stored.- Parameters:
stored- the stored value to set.- Returns:
- the SearchSchemaValue object itself.
-
facet
public boolean facet()Get the facet property: The boolean that indicates whether or not the field is a facet.- Returns:
- the facet value.
-
withFacet
Set the facet property: The boolean that indicates whether or not the field is a facet.- Parameters:
facet- the facet value to set.- Returns:
- the SearchSchemaValue object itself.
-
ownerType
Get the ownerType property: The array of workflows containing the field.- Returns:
- the ownerType value.
-
withOwnerType
Set the ownerType property: The array of workflows containing the field.- Parameters:
ownerType- the ownerType value to set.- Returns:
- the SearchSchemaValue object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-