Interface DataSecurityConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataSecurityConfig.Builder,DataSecurityConfig>,SdkBuilder<DataSecurityConfig.Builder,DataSecurityConfig>,SdkPojo
- Enclosing class:
- DataSecurityConfig
public static interface DataSecurityConfig.Builder extends SdkPojo, CopyableBuilder<DataSecurityConfig.Builder,DataSecurityConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataSecurityConfig.BuilderdataLakeKmsKeyId(String dataLakeKmsKeyId)ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.DataSecurityConfig.BuildermodelKmsKeyId(String modelKmsKeyId)ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models.DataSecurityConfig.BuildervolumeKmsKeyId(String volumeKmsKeyId)ID for the KMS key that Amazon Comprehend uses to encrypt the volume.default DataSecurityConfig.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig)Sets the value of the VpcConfig property for this object.DataSecurityConfig.BuildervpcConfig(VpcConfig vpcConfig)Sets the value of the VpcConfig property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
modelKmsKeyId
DataSecurityConfig.Builder modelKmsKeyId(String modelKmsKeyId)
ID for the 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"
- Parameters:
modelKmsKeyId- ID for the 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"
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
volumeKmsKeyId
DataSecurityConfig.Builder volumeKmsKeyId(String volumeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
- Parameters:
volumeKmsKeyId- ID for the KMS key that Amazon Comprehend uses to encrypt the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataLakeKmsKeyId
DataSecurityConfig.Builder dataLakeKmsKeyId(String dataLakeKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
- Parameters:
dataLakeKmsKeyId- ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
DataSecurityConfig.Builder vpcConfig(VpcConfig vpcConfig)
Sets the value of the VpcConfig property for this object.- Parameters:
vpcConfig- The new value for the VpcConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default DataSecurityConfig.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Sets the value of the VpcConfig property for this object. This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfig(VpcConfig)
-
-