@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMetricAttributionMetricsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListMetricAttributionMetricsResult() |
Modifier and Type | Method and Description |
---|---|
ListMetricAttributionMetricsResult |
clone() |
boolean |
equals(Object obj) |
List<MetricAttribute> |
getMetrics()
The metrics for the specified metric attribution.
|
String |
getNextToken()
Specify the pagination token from a previous
ListMetricAttributionMetricsResponse request to
retrieve the next page of results. |
int |
hashCode() |
void |
setMetrics(Collection<MetricAttribute> metrics)
The metrics for the specified metric attribution.
|
void |
setNextToken(String nextToken)
Specify the pagination token from a previous
ListMetricAttributionMetricsResponse request to
retrieve the next page of results. |
String |
toString()
Returns a string representation of this object.
|
ListMetricAttributionMetricsResult |
withMetrics(Collection<MetricAttribute> metrics)
The metrics for the specified metric attribution.
|
ListMetricAttributionMetricsResult |
withMetrics(MetricAttribute... metrics)
The metrics for the specified metric attribution.
|
ListMetricAttributionMetricsResult |
withNextToken(String nextToken)
Specify the pagination token from a previous
ListMetricAttributionMetricsResponse request to
retrieve the next page of results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MetricAttribute> getMetrics()
The metrics for the specified metric attribution.
public void setMetrics(Collection<MetricAttribute> metrics)
The metrics for the specified metric attribution.
metrics
- The metrics for the specified metric attribution.public ListMetricAttributionMetricsResult withMetrics(MetricAttribute... metrics)
The metrics for the specified metric attribution.
NOTE: This method appends the values to the existing list (if any). Use
setMetrics(java.util.Collection)
or withMetrics(java.util.Collection)
if you want to override
the existing values.
metrics
- The metrics for the specified metric attribution.public ListMetricAttributionMetricsResult withMetrics(Collection<MetricAttribute> metrics)
The metrics for the specified metric attribution.
metrics
- The metrics for the specified metric attribution.public void setNextToken(String nextToken)
Specify the pagination token from a previous ListMetricAttributionMetricsResponse
request to
retrieve the next page of results.
nextToken
- Specify the pagination token from a previous ListMetricAttributionMetricsResponse
request to
retrieve the next page of results.public String getNextToken()
Specify the pagination token from a previous ListMetricAttributionMetricsResponse
request to
retrieve the next page of results.
ListMetricAttributionMetricsResponse
request to
retrieve the next page of results.public ListMetricAttributionMetricsResult withNextToken(String nextToken)
Specify the pagination token from a previous ListMetricAttributionMetricsResponse
request to
retrieve the next page of results.
nextToken
- Specify the pagination token from a previous ListMetricAttributionMetricsResponse
request to
retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListMetricAttributionMetricsResult clone()