Interface MetricStreamFilter.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<MetricStreamFilter.Builder,MetricStreamFilter>
,SdkBuilder<MetricStreamFilter.Builder,MetricStreamFilter>
,SdkPojo
- Enclosing class:
- MetricStreamFilter
public static interface MetricStreamFilter.Builder extends SdkPojo, CopyableBuilder<MetricStreamFilter.Builder,MetricStreamFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricStreamFilter.Builder
metricNames(String... metricNames)
The names of the metrics to either include or exclude from the metric stream.MetricStreamFilter.Builder
metricNames(Collection<String> metricNames)
The names of the metrics to either include or exclude from the metric stream.MetricStreamFilter.Builder
namespace(String namespace)
The name of the metric namespace for this filter.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
namespace
MetricStreamFilter.Builder namespace(String namespace)
The name of the metric namespace for this filter.
The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must contain at least one non-whitespace character.
- Parameters:
namespace
- The name of the metric namespace for this filter.The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must contain at least one non-whitespace character.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricNames
MetricStreamFilter.Builder metricNames(Collection<String> metricNames)
The names of the metrics to either include or exclude from the metric stream.
If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.
Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.
- Parameters:
metricNames
- The names of the metrics to either include or exclude from the metric stream.If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.
Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricNames
MetricStreamFilter.Builder metricNames(String... metricNames)
The names of the metrics to either include or exclude from the metric stream.
If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.
Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.
- Parameters:
metricNames
- The names of the metrics to either include or exclude from the metric stream.If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.
Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-