Class CfnMetricAttributionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.personalize.CfnMetricAttributionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMetricAttributionPropsMixin>
- Enclosing class:
CfnMetricAttributionPropsMixin
@Stability(Stable)
public static final class CfnMetricAttributionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMetricAttributionPropsMixin>
A fluent builder for
CfnMetricAttributionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) datasetGroupArn(String datasetGroupArn) The ARN of the destination dataset group.A list of metric attributes for the metric attribution.metrics(IResolvable metrics) A list of metric attributes for the metric attribution.metricsOutputConfig(CfnMetricAttributionPropsMixin.MetricsOutputConfigProperty metricsOutputConfig) The output configuration details for the metric attribution.metricsOutputConfig(IResolvable metricsOutputConfig) The output configuration details for the metric attribution.The name of the metric attribution.
-
Method Details
-
create
@Stability(Stable) public static CfnMetricAttributionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnMetricAttributionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnMetricAttributionPropsMixin.Builder.
-
datasetGroupArn
@Stability(Stable) public CfnMetricAttributionPropsMixin.Builder datasetGroupArn(String datasetGroupArn) The ARN of the destination dataset group.- Parameters:
datasetGroupArn- The ARN of the destination dataset group. This parameter is required.- Returns:
this- See Also:
-
metrics
A list of metric attributes for the metric attribution.- Parameters:
metrics- A list of metric attributes for the metric attribution. This parameter is required.- Returns:
this- See Also:
-
metrics
@Stability(Stable) public CfnMetricAttributionPropsMixin.Builder metrics(List<? extends Object> metrics) A list of metric attributes for the metric attribution.- Parameters:
metrics- A list of metric attributes for the metric attribution. This parameter is required.- Returns:
this- See Also:
-
metricsOutputConfig
@Stability(Stable) public CfnMetricAttributionPropsMixin.Builder metricsOutputConfig(IResolvable metricsOutputConfig) The output configuration details for the metric attribution.- Parameters:
metricsOutputConfig- The output configuration details for the metric attribution. This parameter is required.- Returns:
this- See Also:
-
metricsOutputConfig
@Stability(Stable) public CfnMetricAttributionPropsMixin.Builder metricsOutputConfig(CfnMetricAttributionPropsMixin.MetricsOutputConfigProperty metricsOutputConfig) The output configuration details for the metric attribution.- Parameters:
metricsOutputConfig- The output configuration details for the metric attribution. This parameter is required.- Returns:
this- See Also:
-
name
The name of the metric attribution.- Parameters:
name- The name of the metric attribution. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMetricAttributionPropsMixin>- Returns:
- a newly built instance of
CfnMetricAttributionPropsMixin.
-