Class CfnFieldLevelEncryptionProfile.EncryptionEntityProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnFieldLevelEncryptionProfile.EncryptionEntityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFieldLevelEncryptionProfile.EncryptionEntityProperty>
- Enclosing interface:
CfnFieldLevelEncryptionProfile.EncryptionEntityProperty
@Stability(Stable)
public static final class CfnFieldLevelEncryptionProfile.EncryptionEntityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFieldLevelEncryptionProfile.EncryptionEntityProperty>
A builder for
CfnFieldLevelEncryptionProfile.EncryptionEntityProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fieldPatterns(List<String> fieldPatterns) providerId(String providerId) Sets the value ofCfnFieldLevelEncryptionProfile.EncryptionEntityProperty.getProviderId()publicKeyId(String publicKeyId) Sets the value ofCfnFieldLevelEncryptionProfile.EncryptionEntityProperty.getPublicKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldPatterns
@Stability(Stable) public CfnFieldLevelEncryptionProfile.EncryptionEntityProperty.Builder fieldPatterns(List<String> fieldPatterns) - Parameters:
fieldPatterns- The request-body field names to encrypt. This parameter is required. 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 CfnFieldLevelEncryptionProfile.EncryptionEntityProperty.Builder providerId(String providerId) Sets the value ofCfnFieldLevelEncryptionProfile.EncryptionEntityProperty.getProviderId()- Parameters:
providerId- The provider associated with the public key. This parameter is required. The same value must be supplied with the private key for an application to decrypt the data.- Returns:
this
-
publicKeyId
@Stability(Stable) public CfnFieldLevelEncryptionProfile.EncryptionEntityProperty.Builder publicKeyId(String publicKeyId) Sets the value ofCfnFieldLevelEncryptionProfile.EncryptionEntityProperty.getPublicKeyId()- Parameters:
publicKeyId- The identifier of the CloudFront public key used to encrypt the fields that match the patterns. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFieldLevelEncryptionProfile.EncryptionEntityProperty>- Returns:
- a new instance of
CfnFieldLevelEncryptionProfile.EncryptionEntityProperty - Throws:
NullPointerException- if any required attribute was not provided
-