Interface ListMetricAttributionMetricsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMetricAttributionMetricsResponse.Builder,
,ListMetricAttributionMetricsResponse> PersonalizeResponse.Builder
,SdkBuilder<ListMetricAttributionMetricsResponse.Builder,
,ListMetricAttributionMetricsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMetricAttributionMetricsResponse
public static interface ListMetricAttributionMetricsResponse.Builder
extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<ListMetricAttributionMetricsResponse.Builder,ListMetricAttributionMetricsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmetrics
(Collection<MetricAttribute> metrics) The metrics for the specified metric attribution.metrics
(Consumer<MetricAttribute.Builder>... metrics) The metrics for the specified metric attribution.metrics
(MetricAttribute... metrics) The metrics for the specified metric attribution.Specify the pagination token from a previousListMetricAttributionMetricsResponse
request to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
metrics
The metrics for the specified metric attribution.
- Parameters:
metrics
- The metrics for the specified metric attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The metrics for the specified metric attribution.
- Parameters:
metrics
- The metrics for the specified metric attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The metrics for the specified metric attribution.
This is a convenience method that creates an instance of theMetricAttribute.Builder
avoiding the need to create one manually viaMetricAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometrics(List<MetricAttribute>)
.- Parameters:
metrics
- a consumer that will call methods onMetricAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Specify the pagination token from a previous
ListMetricAttributionMetricsResponse
request to retrieve the next page of results.- Parameters:
nextToken
- Specify the pagination token from a previousListMetricAttributionMetricsResponse
request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-