public class DescribeMetricFiltersResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeMetricFiltersResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeMetricFiltersResult |
clone() |
boolean |
equals(Object obj) |
List<MetricFilter> |
getMetricFilters()
Returns the value of the MetricFilters property for this object.
|
String |
getNextToken()
A string token used for pagination that points to the next page of
results.
|
int |
hashCode() |
void |
setMetricFilters(Collection<MetricFilter> metricFilters)
Sets the value of the MetricFilters property for this object.
|
void |
setNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeMetricFiltersResult |
withMetricFilters(Collection<MetricFilter> metricFilters)
Sets the value of the MetricFilters property for this object.
|
DescribeMetricFiltersResult |
withMetricFilters(MetricFilter... metricFilters)
Sets the value of the MetricFilters property for this object.
|
DescribeMetricFiltersResult |
withNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
public List<MetricFilter> getMetricFilters()
public void setMetricFilters(Collection<MetricFilter> metricFilters)
metricFilters - The new value for the MetricFilters property for this object.public DescribeMetricFiltersResult withMetricFilters(MetricFilter... metricFilters)
NOTE: This method appends the values to the existing list (if
any). Use setMetricFilters(java.util.Collection) or withMetricFilters(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
metricFilters - The new value for the MetricFilters property for this object.public DescribeMetricFiltersResult withMetricFilters(Collection<MetricFilter> metricFilters)
Returns a reference to this object so that method calls can be chained together.
metricFilters - The new value for the MetricFilters property for this object.public String getNextToken()
Constraints:
Length: 1 -
public void setNextToken(String nextToken)
Constraints:
Length: 1 -
nextToken - A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public DescribeMetricFiltersResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken - A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public String toString()
toString in class ObjectObject.toString()public DescribeMetricFiltersResult clone()
Copyright © 2015. All rights reserved.