Class ExpansionEntityQuery
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
-
- com.azure.resourcemanager.securityinsights.fluent.models.EntityQueryInner
-
- com.azure.resourcemanager.securityinsights.models.ExpansionEntityQuery
-
public final class ExpansionEntityQuery extends EntityQueryInner
Represents Expansion entity query.
-
-
Constructor Summary
Constructors Constructor Description ExpansionEntityQuery()
-
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.ExpansionEntityQuery
withDataSources(List<String> dataSources)
Set the dataSources property: List of the data sources that are required to run the query.ExpansionEntityQuery
withDisplayName(String displayName)
Set the displayName property: The query display name.ExpansionEntityQuery
withEtag(String etag)
Set the etag property: Etag of the azure resource.ExpansionEntityQuery
withInputEntityType(EntityType inputEntityType)
Set the inputEntityType property: The type of the query's source entity.ExpansionEntityQuery
withInputFields(List<String> inputFields)
Set the inputFields property: List of the fields of the source entity that are required to run the query.ExpansionEntityQuery
withOutputEntityTypes(List<EntityType> outputEntityTypes)
Set the outputEntityTypes property: List of the desired output types to be constructed from the result.ExpansionEntityQuery
withQueryTemplate(String queryTemplate)
Set the queryTemplate property: The template query string to be parsed and formatted.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
-
-
-
-
Method Detail
-
withEtag
public ExpansionEntityQuery withEtag(String etag)
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classEntityQueryInner
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
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 ExpansionEntityQuery 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 ExpansionEntityQuery object itself.
-
displayName
public String displayName()
Get the displayName property: The query display name.- Returns:
- the displayName value.
-
withDisplayName
public ExpansionEntityQuery withDisplayName(String displayName)
Set the displayName property: The query display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ExpansionEntityQuery object itself.
-
inputEntityType
public EntityType inputEntityType()
Get the inputEntityType property: The type of the query's source entity.- Returns:
- the inputEntityType value.
-
withInputEntityType
public ExpansionEntityQuery withInputEntityType(EntityType inputEntityType)
Set the inputEntityType property: The type of the query's source entity.- Parameters:
inputEntityType
- the inputEntityType value to set.- Returns:
- the ExpansionEntityQuery 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 ExpansionEntityQuery 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 ExpansionEntityQuery 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 ExpansionEntityQuery 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 ExpansionEntityQuery 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 ExpansionEntityQuery 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 ExpansionEntityQuery object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEntityQueryInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-