Class EntityInsightItemQueryTimeInterval


  • public final class EntityInsightItemQueryTimeInterval
    extends Object
    The Time interval that the query actually executed on.
    • Constructor Detail

      • EntityInsightItemQueryTimeInterval

        public EntityInsightItemQueryTimeInterval()
    • Method Detail

      • startTime

        public OffsetDateTime startTime()
        Get the startTime property: Insight query start time.
        Returns:
        the startTime value.
      • withStartTime

        public EntityInsightItemQueryTimeInterval withStartTime​(OffsetDateTime startTime)
        Set the startTime property: Insight query start time.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the EntityInsightItemQueryTimeInterval object itself.
      • endTime

        public OffsetDateTime endTime()
        Get the endTime property: Insight query end time.
        Returns:
        the endTime value.
      • withEndTime

        public EntityInsightItemQueryTimeInterval withEndTime​(OffsetDateTime endTime)
        Set the endTime property: Insight query end time.
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the EntityInsightItemQueryTimeInterval object itself.
      • validate

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