Class NamespaceValidator
- java.lang.Object
-
- com.elastisys.autoscaler.metricstreamers.cloudwatch.config.NamespaceValidator
-
public class NamespaceValidator extends java.lang.ObjectA validator that checks if a given namespace is a valid CloudWatch metric namespace. Refer to the CloudWatch concepts introduction for details.
-
-
Constructor Summary
Constructors Constructor Description NamespaceValidator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisValid(java.lang.String namespace)Returnstrueif the specified namespace is a valid CloudWatch metric namespace.
-
-
-
Method Detail
-
isValid
public static boolean isValid(java.lang.String namespace)
Returnstrueif the specified namespace is a valid CloudWatch metric namespace. Refer to the CloudWatch concepts introduction for details.- Parameters:
namespace- A namespace.- Returns:
trueif the namespace is valid,falseotherwise.
-
-