Class CfnFlywheel.DataSecurityConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.comprehend.CfnFlywheel.DataSecurityConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlywheel.DataSecurityConfigProperty>
- Enclosing interface:
CfnFlywheel.DataSecurityConfigProperty
@Stability(Stable)
public static final class CfnFlywheel.DataSecurityConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlywheel.DataSecurityConfigProperty>
A builder for
CfnFlywheel.DataSecurityConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataLakeKmsKeyId(String dataLakeKmsKeyId) Sets the value ofCfnFlywheel.DataSecurityConfigProperty.getDataLakeKmsKeyId()modelKmsKeyId(String modelKmsKeyId) Sets the value ofCfnFlywheel.DataSecurityConfigProperty.getModelKmsKeyId()volumeKmsKeyId(String volumeKmsKeyId) Sets the value ofCfnFlywheel.DataSecurityConfigProperty.getVolumeKmsKeyId()vpcConfig(IResolvable vpcConfig) Sets the value ofCfnFlywheel.DataSecurityConfigProperty.getVpcConfig()vpcConfig(CfnFlywheel.VpcConfigProperty vpcConfig) Sets the value ofCfnFlywheel.DataSecurityConfigProperty.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataLakeKmsKeyId
@Stability(Stable) public CfnFlywheel.DataSecurityConfigProperty.Builder dataLakeKmsKeyId(String dataLakeKmsKeyId) Sets the value ofCfnFlywheel.DataSecurityConfigProperty.getDataLakeKmsKeyId()- Parameters:
dataLakeKmsKeyId- ID for the AWS KMS key that Amazon Comprehend uses to encrypt the data in the data lake.- Returns:
this
-
modelKmsKeyId
@Stability(Stable) public CfnFlywheel.DataSecurityConfigProperty.Builder modelKmsKeyId(String modelKmsKeyId) Sets the value ofCfnFlywheel.DataSecurityConfigProperty.getModelKmsKeyId()- Parameters:
modelKmsKeyId- ID for the AWS KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:- KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" - Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
- KMS Key ID:
- Returns:
this
-
volumeKmsKeyId
@Stability(Stable) public CfnFlywheel.DataSecurityConfigProperty.Builder volumeKmsKeyId(String volumeKmsKeyId) Sets the value ofCfnFlywheel.DataSecurityConfigProperty.getVolumeKmsKeyId()- Parameters:
volumeKmsKeyId- ID for the AWS KMS key that Amazon Comprehend uses to encrypt the volume.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnFlywheel.DataSecurityConfigProperty.Builder vpcConfig(IResolvable vpcConfig) Sets the value ofCfnFlywheel.DataSecurityConfigProperty.getVpcConfig()- Parameters:
vpcConfig- Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC .- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnFlywheel.DataSecurityConfigProperty.Builder vpcConfig(CfnFlywheel.VpcConfigProperty vpcConfig) Sets the value ofCfnFlywheel.DataSecurityConfigProperty.getVpcConfig()- Parameters:
vpcConfig- Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlywheel.DataSecurityConfigProperty>- Returns:
- a new instance of
CfnFlywheel.DataSecurityConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-