Class WafMetricsResponseInner


  • public final class WafMetricsResponseInner
    extends Object
    Waf Metrics Response.
    • Constructor Detail

      • WafMetricsResponseInner

        public WafMetricsResponseInner()
    • Method Detail

      • dateTimeBegin

        public OffsetDateTime dateTimeBegin()
        Get the dateTimeBegin property: The dateTimeBegin property.
        Returns:
        the dateTimeBegin value.
      • withDateTimeBegin

        public WafMetricsResponseInner withDateTimeBegin​(OffsetDateTime dateTimeBegin)
        Set the dateTimeBegin property: The dateTimeBegin property.
        Parameters:
        dateTimeBegin - the dateTimeBegin value to set.
        Returns:
        the WafMetricsResponseInner object itself.
      • dateTimeEnd

        public OffsetDateTime dateTimeEnd()
        Get the dateTimeEnd property: The dateTimeEnd property.
        Returns:
        the dateTimeEnd value.
      • withDateTimeEnd

        public WafMetricsResponseInner withDateTimeEnd​(OffsetDateTime dateTimeEnd)
        Set the dateTimeEnd property: The dateTimeEnd property.
        Parameters:
        dateTimeEnd - the dateTimeEnd value to set.
        Returns:
        the WafMetricsResponseInner object itself.
      • granularity

        public WafMetricsResponseGranularity granularity()
        Get the granularity property: The granularity property.
        Returns:
        the granularity value.
      • withGranularity

        public WafMetricsResponseInner withGranularity​(WafMetricsResponseGranularity granularity)
        Set the granularity property: The granularity property.
        Parameters:
        granularity - the granularity value to set.
        Returns:
        the WafMetricsResponseInner object itself.
      • validate

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