Class SampleQueries

    • Constructor Detail

      • SampleQueries

        public SampleQueries()
    • Method Detail

      • description

        public String description()
        Get the description property: The sample query description.
        Returns:
        the description value.
      • withDescription

        public SampleQueries withDescription​(String description)
        Set the description property: The sample query description.
        Parameters:
        description - the description value to set.
        Returns:
        the SampleQueries object itself.
      • query

        public String query()
        Get the query property: the sample query.
        Returns:
        the query value.
      • withQuery

        public SampleQueries withQuery​(String query)
        Set the query property: the sample query.
        Parameters:
        query - the query value to set.
        Returns:
        the SampleQueries object itself.
      • validate

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