Class ExpansionResultAggregation
java.lang.Object
com.azure.resourcemanager.securityinsights.models.ExpansionResultAggregation
Information of a specific aggregation in the expansion result.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aggregationType property: The common type of the aggregation.int
count()
Get the count property: Total number of aggregations of the given kind (and aggregationType if given) in the expansion result.Get the displayName property: The display name of the aggregation by type.Get the entityKind property: The kind of the aggregated entity.void
validate()
Validates the instance.withAggregationType
(String aggregationType) Set the aggregationType property: The common type of the aggregation.withCount
(int count) Set the count property: Total number of aggregations of the given kind (and aggregationType if given) in the expansion result.withDisplayName
(String displayName) Set the displayName property: The display name of the aggregation by type.withEntityKind
(EntityKind entityKind) Set the entityKind property: The kind of the aggregated entity.
-
Constructor Details
-
ExpansionResultAggregation
public ExpansionResultAggregation()
-
-
Method Details
-
aggregationType
Get the aggregationType property: The common type of the aggregation. (for e.g. entity field name).- Returns:
- the aggregationType value.
-
withAggregationType
Set the aggregationType property: The common type of the aggregation. (for e.g. entity field name).- Parameters:
aggregationType
- the aggregationType value to set.- Returns:
- the ExpansionResultAggregation object itself.
-
count
public int count()Get the count property: Total number of aggregations of the given kind (and aggregationType if given) in the expansion result.- Returns:
- the count value.
-
withCount
Set the count property: Total number of aggregations of the given kind (and aggregationType if given) in the expansion result.- Parameters:
count
- the count value to set.- Returns:
- the ExpansionResultAggregation object itself.
-
displayName
Get the displayName property: The display name of the aggregation by type.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the aggregation by type.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ExpansionResultAggregation object itself.
-
entityKind
Get the entityKind property: The kind of the aggregated entity.- Returns:
- the entityKind value.
-
withEntityKind
Set the entityKind property: The kind of the aggregated entity.- Parameters:
entityKind
- the entityKind value to set.- Returns:
- the ExpansionResultAggregation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-