Class ExpansionEntityQueriesProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.fluent.models.ExpansionEntityQueriesProperties
-
public final class ExpansionEntityQueriesProperties extends Object
Describes expansion entity query properties.
-
-
Constructor Summary
Constructors Constructor Description ExpansionEntityQueriesProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
dataSources()
Get the dataSources property: List of the data sources that are required to run the query.String
displayName()
Get the displayName property: The query display name.EntityType
inputEntityType()
Get the inputEntityType property: The type of the query's source entity.List<String>
inputFields()
Get the inputFields property: List of the fields of the source entity that are required to run the query.List<EntityType>
outputEntityTypes()
Get the outputEntityTypes property: List of the desired output types to be constructed from the result.String
queryTemplate()
Get the queryTemplate property: The template query string to be parsed and formatted.void
validate()
Validates the instance.ExpansionEntityQueriesProperties
withDataSources(List<String> dataSources)
Set the dataSources property: List of the data sources that are required to run the query.ExpansionEntityQueriesProperties
withDisplayName(String displayName)
Set the displayName property: The query display name.ExpansionEntityQueriesProperties
withInputEntityType(EntityType inputEntityType)
Set the inputEntityType property: The type of the query's source entity.ExpansionEntityQueriesProperties
withInputFields(List<String> inputFields)
Set the inputFields property: List of the fields of the source entity that are required to run the query.ExpansionEntityQueriesProperties
withOutputEntityTypes(List<EntityType> outputEntityTypes)
Set the outputEntityTypes property: List of the desired output types to be constructed from the result.ExpansionEntityQueriesProperties
withQueryTemplate(String queryTemplate)
Set the queryTemplate property: The template query string to be parsed and formatted.
-
-
-
Method Detail
-
dataSources
public List<String> dataSources()
Get the dataSources property: List of the data sources that are required to run the query.- Returns:
- the dataSources value.
-
withDataSources
public ExpansionEntityQueriesProperties withDataSources(List<String> dataSources)
Set the dataSources property: List of the data sources that are required to run the query.- Parameters:
dataSources
- the dataSources value to set.- Returns:
- the ExpansionEntityQueriesProperties object itself.
-
displayName
public String displayName()
Get the displayName property: The query display name.- Returns:
- the displayName value.
-
withDisplayName
public ExpansionEntityQueriesProperties withDisplayName(String displayName)
Set the displayName property: The query display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ExpansionEntityQueriesProperties object itself.
-
inputEntityType
public EntityType inputEntityType()
Get the inputEntityType property: The type of the query's source entity.- Returns:
- the inputEntityType value.
-
withInputEntityType
public ExpansionEntityQueriesProperties withInputEntityType(EntityType inputEntityType)
Set the inputEntityType property: The type of the query's source entity.- Parameters:
inputEntityType
- the inputEntityType value to set.- Returns:
- the ExpansionEntityQueriesProperties object itself.
-
inputFields
public List<String> inputFields()
Get the inputFields property: List of the fields of the source entity that are required to run the query.- Returns:
- the inputFields value.
-
withInputFields
public ExpansionEntityQueriesProperties withInputFields(List<String> inputFields)
Set the inputFields property: List of the fields of the source entity that are required to run the query.- Parameters:
inputFields
- the inputFields value to set.- Returns:
- the ExpansionEntityQueriesProperties object itself.
-
outputEntityTypes
public List<EntityType> outputEntityTypes()
Get the outputEntityTypes property: List of the desired output types to be constructed from the result.- Returns:
- the outputEntityTypes value.
-
withOutputEntityTypes
public ExpansionEntityQueriesProperties withOutputEntityTypes(List<EntityType> outputEntityTypes)
Set the outputEntityTypes property: List of the desired output types to be constructed from the result.- Parameters:
outputEntityTypes
- the outputEntityTypes value to set.- Returns:
- the ExpansionEntityQueriesProperties object itself.
-
queryTemplate
public String queryTemplate()
Get the queryTemplate property: The template query string to be parsed and formatted.- Returns:
- the queryTemplate value.
-
withQueryTemplate
public ExpansionEntityQueriesProperties withQueryTemplate(String queryTemplate)
Set the queryTemplate property: The template query string to be parsed and formatted.- Parameters:
queryTemplate
- the queryTemplate value to set.- Returns:
- the ExpansionEntityQueriesProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-