Class NamespaceValidator


  • public class NamespaceValidator
    extends java.lang.Object
    A validator that checks if a given namespace is a valid CloudWatch metric namespace.

    Refer to the CloudWatch concepts introduction for details.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isValid​(java.lang.String namespace)
      Returns true if the specified namespace is a valid CloudWatch metric namespace.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NamespaceValidator

        public NamespaceValidator()
    • Method Detail

      • isValid

        public static boolean isValid​(java.lang.String namespace)
        Returns true if the specified namespace is a valid CloudWatch metric namespace.

        Refer to the CloudWatch concepts introduction for details.

        Parameters:
        namespace - A namespace.
        Returns:
        true if the namespace is valid, false otherwise.