public static class JmesPathDimensionValue.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JmesPathDimensionValue |
build() |
JmesPathDimensionValue.Builder |
copy(JmesPathDimensionValue model) |
JmesPathDimensionValue.Builder |
path(String path)
The location to use for deriving the dimension value (evaluated).
|
public JmesPathDimensionValue.Builder path(String path)
The location to use for deriving the dimension value (evaluated).
The path must start with logContent
in an acceptable notation style with supported JMESPath selectors: expression with dot and index operator (.
and {@link #metricDataDetails(MetricDataDetailsRequest) metricDataDetails}.
The returned value depends on the results of evaluation.
If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value {@code "compartmentId"} is returned as {@code compartmentId}.)
If the evaluated value is invalid, then the returned value is {@code SCH_EVAL_INVALID_VALUE}.
If the evaluated value is empty, then the returned value is {@code SCH_EVAL_VALUE_EMPTY}.
path
- the value to setpublic JmesPathDimensionValue build()
public JmesPathDimensionValue.Builder copy(JmesPathDimensionValue model)
Copyright © 2016–2024. All rights reserved.