@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricStreamFilter extends Object implements Serializable, Cloneable
This structure contains the name of one of the metric namespaces that is listed in a filter of a metric stream.
The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must contain at least one non-whitespace character.
Constructor and Description |
---|
MetricStreamFilter() |
Modifier and Type | Method and Description |
---|---|
MetricStreamFilter |
clone() |
boolean |
equals(Object obj) |
String |
getNamespace()
The name of the metric namespace in the filter.
|
int |
hashCode() |
void |
setNamespace(String namespace)
The name of the metric namespace in the filter.
|
String |
toString()
Returns a string representation of this object.
|
MetricStreamFilter |
withNamespace(String namespace)
The name of the metric namespace in the filter.
|
public void setNamespace(String namespace)
The name of the metric namespace in the filter.
namespace
- The name of the metric namespace in the filter.public String getNamespace()
The name of the metric namespace in the filter.
public MetricStreamFilter withNamespace(String namespace)
The name of the metric namespace in the filter.
namespace
- The name of the metric namespace in the filter.public String toString()
toString
in class Object
Object.toString()
public MetricStreamFilter clone()
Copyright © 2023. All rights reserved.