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