Class ComponentPurgeBody


  • public final class ComponentPurgeBody
    extends Object
    Describes the body of a purge request for an App Insights component.
    • Constructor Detail

      • ComponentPurgeBody

        public ComponentPurgeBody()
    • Method Detail

      • table

        public String table()
        Get the table property: Table from which to purge data.
        Returns:
        the table value.
      • withTable

        public ComponentPurgeBody withTable​(String table)
        Set the table property: Table from which to purge data.
        Parameters:
        table - the table value to set.
        Returns:
        the ComponentPurgeBody object itself.
      • filters

        public List<ComponentPurgeBodyFilters> filters()
        Get the filters property: The set of columns and filters (queries) to run over them to purge the resulting data.
        Returns:
        the filters value.
      • withFilters

        public ComponentPurgeBody withFilters​(List<ComponentPurgeBodyFilters> filters)
        Set the filters property: The set of columns and filters (queries) to run over them to purge the resulting data.
        Parameters:
        filters - the filters value to set.
        Returns:
        the ComponentPurgeBody object itself.
      • validate

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