public class TestMetricFilterResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<MetricFilterMatchRecord> |
matches |
Constructor and Description |
---|
TestMetricFilterResult() |
Modifier and Type | Method and Description |
---|---|
TestMetricFilterResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<MetricFilterMatchRecord> |
getMatches() |
int |
hashCode() |
void |
setMatches(java.util.Collection<MetricFilterMatchRecord> matches) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TestMetricFilterResult |
withMatches(java.util.Collection<MetricFilterMatchRecord> matches) |
TestMetricFilterResult |
withMatches(MetricFilterMatchRecord... matches)
NOTE: This method appends the values to the existing list (if
any).
|
private SdkInternalList<MetricFilterMatchRecord> matches
public java.util.List<MetricFilterMatchRecord> getMatches()
public void setMatches(java.util.Collection<MetricFilterMatchRecord> matches)
matches
- public TestMetricFilterResult withMatches(MetricFilterMatchRecord... matches)
NOTE: This method appends the values to the existing list (if
any). Use setMatches(java.util.Collection)
or
withMatches(java.util.Collection)
if you want to override the
existing values.
matches
- public TestMetricFilterResult withMatches(java.util.Collection<MetricFilterMatchRecord> matches)
matches
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TestMetricFilterResult clone()
clone
in class java.lang.Object