Class MetricsResponseInner


  • public final class MetricsResponseInner
    extends Object
    Metrics Response.
    • Constructor Detail

      • MetricsResponseInner

        public MetricsResponseInner()
    • Method Detail

      • dateTimeBegin

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

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

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

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

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

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

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