CopyableBuilder<ListMetricsRequest.Builder,ListMetricsRequest>
, SdkBuilder<ListMetricsRequest.Builder,ListMetricsRequest>
public static interface ListMetricsRequest.Builder extends CopyableBuilder<ListMetricsRequest.Builder,ListMetricsRequest>
Modifier and Type | Method | Description |
---|---|---|
ListMetricsRequest.Builder |
dimensions(Collection<DimensionFilter> dimensions) |
The dimensions to filter against.
|
ListMetricsRequest.Builder |
dimensions(DimensionFilter... dimensions) |
The dimensions to filter against.
|
ListMetricsRequest.Builder |
metricName(String metricName) |
The name of the metric to filter against.
|
ListMetricsRequest.Builder |
namespace(String namespace) |
The namespace to filter against.
|
ListMetricsRequest.Builder |
nextToken(String nextToken) |
The token returned by a previous call to indicate that there is more data available.
|
copy
apply, build
ListMetricsRequest.Builder namespace(String namespace)
The namespace to filter against.
namespace
- The namespace to filter against.ListMetricsRequest.Builder metricName(String metricName)
The name of the metric to filter against.
metricName
- The name of the metric to filter against.ListMetricsRequest.Builder dimensions(Collection<DimensionFilter> dimensions)
The dimensions to filter against.
dimensions
- The dimensions to filter against.ListMetricsRequest.Builder dimensions(DimensionFilter... dimensions)
The dimensions to filter against.
NOTE: This method appends the values to the existing list (if any). Use
#setDimensions(java.util.Collection)
or #withDimensions(java.util.Collection)
if you want to
override the existing values.
dimensions
- The dimensions to filter against.ListMetricsRequest.Builder nextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
nextToken
- The token returned by a previous call to indicate that there is more data available.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.