Class CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty>
- Enclosing interface:
CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty
@Stability(Stable)
public static final class CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fieldPatterns(List<String> fieldPatterns) providerId(String providerId) publicKeyId(String publicKeyId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldPatterns
@Stability(Stable) public CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty.Builder fieldPatterns(List<String> fieldPatterns) Sets the value ofCfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty.getFieldPatterns()- Parameters:
fieldPatterns- The request-body field names to encrypt. A pattern is either a full field name or leading characters followed by a wildcard (*). Patterns are case-sensitive and must not overlap.- Returns:
this
-
providerId
@Stability(Stable) public CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty.Builder providerId(String providerId) - Parameters:
providerId- The provider associated with the public key. The same value must be supplied with the private key for an application to decrypt the data.- Returns:
this
-
publicKeyId
@Stability(Stable) public CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty.Builder publicKeyId(String publicKeyId) Sets the value ofCfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty.getPublicKeyId()- Parameters:
publicKeyId- The identifier of the CloudFront public key used to encrypt the fields that match the patterns.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty>- Returns:
- a new instance of
CfnFieldLevelEncryptionProfilePropsMixin.EncryptionEntityProperty - Throws:
NullPointerException- if any required attribute was not provided
-