Class CfnModelPackagePropsMixin.SecurityConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelPackagePropsMixin.SecurityConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackagePropsMixin.SecurityConfigProperty>
- Enclosing interface:
CfnModelPackagePropsMixin.SecurityConfigProperty
@Stability(Stable)
public static final class CfnModelPackagePropsMixin.SecurityConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackagePropsMixin.SecurityConfigProperty>
A builder for
CfnModelPackagePropsMixin.SecurityConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnModelPackagePropsMixin.SecurityConfigProperty.getKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyId
@Stability(Stable) public CfnModelPackagePropsMixin.SecurityConfigProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnModelPackagePropsMixin.SecurityConfigProperty.getKmsKeyId()- Parameters:
kmsKeyId- The AWS KMS Key ID (KMSKeyId) used for encryption of model package information.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelPackagePropsMixin.SecurityConfigProperty>- Returns:
- a new instance of
CfnModelPackagePropsMixin.SecurityConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-