public static interface CreateMetricAttributionRequest.Builder extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<CreateMetricAttributionRequest.Builder,CreateMetricAttributionRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateMetricAttributionRequest.Builder name(String name)
A name for the metric attribution.
name - A name for the metric attribution.CreateMetricAttributionRequest.Builder datasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
datasetGroupArn - The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.CreateMetricAttributionRequest.Builder metrics(Collection<MetricAttribute> metrics)
A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to
track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM()
functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For
example SUM(Items.PRICE).
metrics - A list of metric attributes for the metric attribution. Each metric attribute specifies an event type
to track and a function. Available functions are SUM() or SAMPLECOUNT(). For
SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a
parameter. For example SUM(Items.PRICE).CreateMetricAttributionRequest.Builder metrics(MetricAttribute... metrics)
A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to
track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM()
functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For
example SUM(Items.PRICE).
metrics - A list of metric attributes for the metric attribution. Each metric attribute specifies an event type
to track and a function. Available functions are SUM() or SAMPLECOUNT(). For
SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a
parameter. For example SUM(Items.PRICE).CreateMetricAttributionRequest.Builder metrics(Consumer<MetricAttribute.Builder>... metrics)
A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to
track and a function. Available functions are SUM() or SAMPLECOUNT(). For SUM()
functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For
example SUM(Items.PRICE).
MetricAttribute.Builder avoiding the need to create
one manually via MetricAttribute.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #metrics(List.
metrics - a consumer that will call methods on
MetricAttribute.Builder#metrics(java.util.Collection) CreateMetricAttributionRequest.Builder metricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
The output configuration details for the metric attribution.
metricsOutputConfig - The output configuration details for the metric attribution.default CreateMetricAttributionRequest.Builder metricsOutputConfig(Consumer<MetricAttributionOutput.Builder> metricsOutputConfig)
The output configuration details for the metric attribution.
This is a convenience method that creates an instance of theMetricAttributionOutput.Builder avoiding
the need to create one manually via MetricAttributionOutput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to metricsOutputConfig(MetricAttributionOutput).
metricsOutputConfig - a consumer that will call methods on MetricAttributionOutput.BuildermetricsOutputConfig(MetricAttributionOutput)CreateMetricAttributionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateMetricAttributionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.