Class IncidentEntitiesResultsMetadata


  • public final class IncidentEntitiesResultsMetadata
    extends Object
    Information of a specific aggregation in the incident related entities result.
    • Constructor Detail

      • IncidentEntitiesResultsMetadata

        public IncidentEntitiesResultsMetadata()
    • Method Detail

      • count

        public int count()
        Get the count property: Total number of aggregations of the given kind in the incident related entities result.
        Returns:
        the count value.
      • withCount

        public IncidentEntitiesResultsMetadata withCount​(int count)
        Set the count property: Total number of aggregations of the given kind in the incident related entities result.
        Parameters:
        count - the count value to set.
        Returns:
        the IncidentEntitiesResultsMetadata object itself.
      • entityKind

        public EntityKind entityKind()
        Get the entityKind property: The kind of the aggregated entity.
        Returns:
        the entityKind value.
      • withEntityKind

        public IncidentEntitiesResultsMetadata withEntityKind​(EntityKind entityKind)
        Set the entityKind property: The kind of the aggregated entity.
        Parameters:
        entityKind - the entityKind value to set.
        Returns:
        the IncidentEntitiesResultsMetadata object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.