Class CfnMetricAttributionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.personalize.CfnMetricAttributionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMetricAttributionMixinProps>
- Enclosing interface:
CfnMetricAttributionMixinProps
@Stability(Stable)
public static final class CfnMetricAttributionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMetricAttributionMixinProps>
A builder for
CfnMetricAttributionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetGroupArn(String datasetGroupArn) Sets the value ofCfnMetricAttributionMixinProps.getDatasetGroupArn()Sets the value ofCfnMetricAttributionMixinProps.getMetrics()metrics(IResolvable metrics) Sets the value ofCfnMetricAttributionMixinProps.getMetrics()metricsOutputConfig(CfnMetricAttributionPropsMixin.MetricsOutputConfigProperty metricsOutputConfig) Sets the value ofCfnMetricAttributionMixinProps.getMetricsOutputConfig()metricsOutputConfig(IResolvable metricsOutputConfig) Sets the value ofCfnMetricAttributionMixinProps.getMetricsOutputConfig()Sets the value ofCfnMetricAttributionMixinProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetGroupArn
@Stability(Stable) public CfnMetricAttributionMixinProps.Builder datasetGroupArn(String datasetGroupArn) Sets the value ofCfnMetricAttributionMixinProps.getDatasetGroupArn()- Parameters:
datasetGroupArn- The ARN of the destination dataset group.- Returns:
this
-
metrics
Sets the value ofCfnMetricAttributionMixinProps.getMetrics()- Parameters:
metrics- A list of metric attributes for the metric attribution.- Returns:
this
-
metrics
@Stability(Stable) public CfnMetricAttributionMixinProps.Builder metrics(List<? extends Object> metrics) Sets the value ofCfnMetricAttributionMixinProps.getMetrics()- Parameters:
metrics- A list of metric attributes for the metric attribution.- Returns:
this
-
metricsOutputConfig
@Stability(Stable) public CfnMetricAttributionMixinProps.Builder metricsOutputConfig(IResolvable metricsOutputConfig) Sets the value ofCfnMetricAttributionMixinProps.getMetricsOutputConfig()- Parameters:
metricsOutputConfig- The output configuration details for the metric attribution.- Returns:
this
-
metricsOutputConfig
@Stability(Stable) public CfnMetricAttributionMixinProps.Builder metricsOutputConfig(CfnMetricAttributionPropsMixin.MetricsOutputConfigProperty metricsOutputConfig) Sets the value ofCfnMetricAttributionMixinProps.getMetricsOutputConfig()- Parameters:
metricsOutputConfig- The output configuration details for the metric attribution.- Returns:
this
-
name
Sets the value ofCfnMetricAttributionMixinProps.getName()- Parameters:
name- The name of the metric attribution.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMetricAttributionMixinProps>- Returns:
- a new instance of
CfnMetricAttributionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-