Interface CfnModelCard.MetricDataItemsProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnModelCard.MetricDataItemsProperty extends
Metric data.

The type determines the data types that you specify for value , XAxisName and YAxisName . For information about specifying values for metrics, see model card JSON schema .


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object value;
 MetricDataItemsProperty metricDataItemsProperty = MetricDataItemsProperty.builder()
         // the properties below are optional
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The names of the metrics.
    • getType

      @Stability(Stable) @NotNull String getType()
      You must specify one of the following data types:.

      • Bar Chart bar_char
      • Boolean boolean
      • Linear Graph linear_graph
      • Matrix matrix
      • Number number
      • String string
    • getValue

      @Stability(Stable) @NotNull Object getValue()
      The datatype of the metric.

      The metric's value must be compatible with the metric's type .

    • getNotes

      @Stability(Stable) @Nullable default String getNotes()
      Any notes to add to the metric.
    • getXAxisName

      @Stability(Stable) @Nullable default List<String> getXAxisName()
      The name of the x axis.
    • getYAxisName

      @Stability(Stable) @Nullable default List<String> getYAxisName()
      The name of the y axis.
    • builder

      @Stability(Stable) static CfnModelCard.MetricDataItemsProperty.Builder builder()
      a CfnModelCard.MetricDataItemsProperty.Builder of CfnModelCard.MetricDataItemsProperty