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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDataSecurityConfig.BuildermodelKmsKeyId(String modelKmsKeyId)ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models.UpdateDataSecurityConfig.BuildervolumeKmsKeyId(String volumeKmsKeyId)ID for the KMS key that Amazon Comprehend uses to encrypt the volume.default UpdateDataSecurityConfig.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig)Sets the value of the VpcConfig property for this object.UpdateDataSecurityConfig.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
UpdateDataSecurityConfig.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
UpdateDataSecurityConfig.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.
-
vpcConfig
UpdateDataSecurityConfig.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 UpdateDataSecurityConfig.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)
-
-