Class AggregatedProfileTime

    • Method Detail

      • period

        public final AggregationPeriod period()

        The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.

        • P1D — 1 day

        • PT1H — 1 hour

        • PT5M — 5 minutes

        If the service returns an enum value that is not available in the current SDK version, period will return AggregationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from periodAsString().

        Returns:
        The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.

        • P1D — 1 day

        • PT1H — 1 hour

        • PT5M — 5 minutes

        See Also:
        AggregationPeriod
      • periodAsString

        public final String periodAsString()

        The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.

        • P1D — 1 day

        • PT1H — 1 hour

        • PT5M — 5 minutes

        If the service returns an enum value that is not available in the current SDK version, period will return AggregationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from periodAsString().

        Returns:
        The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.

        • P1D — 1 day

        • PT1H — 1 hour

        • PT5M — 5 minutes

        See Also:
        AggregationPeriod
      • start

        public final Instant start()

        The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the period property of the AggregatedProfileTime object.

        Specify start using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

        Returns:
        The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the period property of the AggregatedProfileTime object.

        Specify start using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)