Class CfnMetricAttributionPropsMixin.S3DataDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.personalize.CfnMetricAttributionPropsMixin.S3DataDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMetricAttributionPropsMixin.S3DataDestinationProperty>
- Enclosing interface:
CfnMetricAttributionPropsMixin.S3DataDestinationProperty
@Stability(Stable)
public static final class CfnMetricAttributionPropsMixin.S3DataDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMetricAttributionPropsMixin.S3DataDestinationProperty>
A builder for
CfnMetricAttributionPropsMixin.S3DataDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnMetricAttributionPropsMixin.S3DataDestinationProperty.getKmsKeyArn()Sets the value ofCfnMetricAttributionPropsMixin.S3DataDestinationProperty.getPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnMetricAttributionPropsMixin.S3DataDestinationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnMetricAttributionPropsMixin.S3DataDestinationProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of the KMS key.- Returns:
this
-
path
@Stability(Stable) public CfnMetricAttributionPropsMixin.S3DataDestinationProperty.Builder path(String path) Sets the value ofCfnMetricAttributionPropsMixin.S3DataDestinationProperty.getPath()- Parameters:
path- The file path of the Amazon S3 bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMetricAttributionPropsMixin.S3DataDestinationProperty>- Returns:
- a new instance of
CfnMetricAttributionPropsMixin.S3DataDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-