public class ListCustomMetricsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListCustomMetricsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getMetricNames()
The name of the custom metric.
|
java.lang.String |
getNextToken()
A token that can be used to retrieve the next set of results, or
null if there are no additional results. |
int |
hashCode() |
void |
setMetricNames(java.util.Collection<java.lang.String> metricNames)
The name of the custom metric.
|
void |
setNextToken(java.lang.String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional results. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListCustomMetricsResult |
withMetricNames(java.util.Collection<java.lang.String> metricNames)
The name of the custom metric.
|
ListCustomMetricsResult |
withMetricNames(java.lang.String... metricNames)
The name of the custom metric.
|
ListCustomMetricsResult |
withNextToken(java.lang.String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional results. |
public java.util.List<java.lang.String> getMetricNames()
The name of the custom metric.
The name of the custom metric.
public void setMetricNames(java.util.Collection<java.lang.String> metricNames)
The name of the custom metric.
metricNames
- The name of the custom metric.
public ListCustomMetricsResult withMetricNames(java.lang.String... metricNames)
The name of the custom metric.
Returns a reference to this object so that method calls can be chained together.
metricNames
- The name of the custom metric.
public ListCustomMetricsResult withMetricNames(java.util.Collection<java.lang.String> metricNames)
The name of the custom metric.
Returns a reference to this object so that method calls can be chained together.
metricNames
- The name of the custom metric.
public java.lang.String getNextToken()
A token that can be used to retrieve the next set of results, or
null
if there are no additional results.
A token that can be used to retrieve the next set of results, or
null
if there are no additional results.
public void setNextToken(java.lang.String nextToken)
A token that can be used to retrieve the next set of results, or
null
if there are no additional results.
nextToken
-
A token that can be used to retrieve the next set of results,
or null
if there are no additional results.
public ListCustomMetricsResult withNextToken(java.lang.String nextToken)
A token that can be used to retrieve the next set of results, or
null
if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken
-
A token that can be used to retrieve the next set of results,
or null
if there are no additional results.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.