Class CfnMetricAttribution.Builder
java.lang.Object
software.amazon.awscdk.services.personalize.CfnMetricAttribution.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMetricAttribution>
- Enclosing class:
CfnMetricAttribution
@Stability(Stable)
public static final class CfnMetricAttribution.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMetricAttribution>
A fluent builder for
CfnMetricAttribution.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnMetricAttribution.BuilderdatasetGroupArn(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(IResolvable metricsOutputConfig) The output configuration details for the metric attribution.metricsOutputConfig(CfnMetricAttribution.MetricsOutputConfigProperty metricsOutputConfig) The output configuration details for the metric attribution.The name of the metric attribution.
-
Method Details
-
create
@Stability(Stable) public static CfnMetricAttribution.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMetricAttribution.Builder.
-
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
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 CfnMetricAttribution.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 CfnMetricAttribution.Builder metricsOutputConfig(CfnMetricAttribution.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<CfnMetricAttribution>- Returns:
- a newly built instance of
CfnMetricAttribution.
-