Interface CfnSecurityProfile.MetricValueProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSecurityProfile.MetricValueProperty.Jsii$Proxy
Enclosing class:
CfnSecurityProfile

@Stability(Stable) public static interface CfnSecurityProfile.MetricValueProperty extends software.amazon.jsii.JsiiSerializable
The value to be compared with the metric .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iot.*;
 MetricValueProperty metricValueProperty = MetricValueProperty.builder()
         .cidrs(List.of("cidrs"))
         .count("count")
         .number(123)
         .numbers(List.of(123))
         .ports(List.of(123))
         .strings(List.of("strings"))
         .build();
 
  • Method Details

    • getCidrs

      @Stability(Stable) @Nullable default List<String> getCidrs()
      If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric .
    • getCount

      @Stability(Stable) @Nullable default String getCount()
      If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric .
    • getNumber

      @Stability(Stable) @Nullable default Number getNumber()
      The numeric values of a metric.
    • getNumbers

      @Stability(Stable) @Nullable default Object getNumbers()
      The numeric value of a metric.
    • getPorts

      @Stability(Stable) @Nullable default Object getPorts()
      If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric .
    • getStrings

      @Stability(Stable) @Nullable default List<String> getStrings()
      The string values of a metric.
    • builder

      @Stability(Stable) static CfnSecurityProfile.MetricValueProperty.Builder builder()
      Returns:
      a CfnSecurityProfile.MetricValueProperty.Builder of CfnSecurityProfile.MetricValueProperty