Class MetricStatSerDe


  • public class MetricStatSerDe
    extends Object
    Used to serialize and deserialize Cloudwatch Metrics MetricStat objects. This is used when creating and processing Splits.
    • Field Detail

    • Method Detail

      • serialize

        public static String serialize​(List<software.amazon.awssdk.services.cloudwatch.model.MetricStat> metricStats)
        Serializes the provided List of MetricStats.
        Parameters:
        metricStats - The list of MetricStats to serialize.
        Returns:
        A String containing the serialized list of MetricStats.
      • deserialize

        public static List<software.amazon.awssdk.services.cloudwatch.model.MetricStat> deserialize​(String serializedMetricStats)
        Deserializes the provided String into a List of MetricStats.
        Parameters:
        serializedMetricStats - A serialized list of MetricStats.
        Returns:
        The List of MetricStats represented by the serialized string.