Interface UpdateDataSecurityConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdateDataSecurityConfig.Builder,
,UpdateDataSecurityConfig> SdkBuilder<UpdateDataSecurityConfig.Builder,
,UpdateDataSecurityConfig> SdkPojo
- Enclosing class:
UpdateDataSecurityConfig
public static interface UpdateDataSecurityConfig.Builder
extends SdkPojo, CopyableBuilder<UpdateDataSecurityConfig.Builder,UpdateDataSecurityConfig>
-
Method Summary
Modifier and TypeMethodDescriptionmodelKmsKeyId
(String modelKmsKeyId) ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models.volumeKmsKeyId
(String volumeKmsKeyId) ID for the KMS key that Amazon Comprehend uses to encrypt the volume.default UpdateDataSecurityConfig.Builder
vpcConfig
(Consumer<VpcConfig.Builder> vpcConfig) Sets the value of the VpcConfig property for this object.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 Details
-
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
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.
-
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
Sets the value of the VpcConfig property for this object. This is a convenience method that creates an instance of theVpcConfig.Builder
avoiding the need to create one manually viaVpcConfig.builder()
.When the
Consumer
completes,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:
-