Class CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty>
- Enclosing interface:
CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty
@Stability(Stable)
public static final class CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.callerReference(String callerReference) encryptionEntities(List<? extends Object> encryptionEntities) encryptionEntities(IResolvable encryptionEntities)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
callerReference
@Stability(Stable) public CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.Builder callerReference(String callerReference) Sets the value ofCfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.getCallerReference()- Parameters:
callerReference- A unique value that identifies the creation request. This parameter is required. Caller references are unique within an AWS account and cannot be changed after creation.- Returns:
this
-
encryptionEntities
@Stability(Stable) public CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.Builder encryptionEntities(IResolvable encryptionEntities) Sets the value ofCfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.getEncryptionEntities()- Parameters:
encryptionEntities- The encryption entities of the field-level encryption profile. This parameter is required. At least one entity is required.- Returns:
this
-
encryptionEntities
@Stability(Stable) public CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.Builder encryptionEntities(List<? extends Object> encryptionEntities) Sets the value ofCfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.getEncryptionEntities()- Parameters:
encryptionEntities- The encryption entities of the field-level encryption profile. This parameter is required. At least one entity is required.- Returns:
this
-
name
@Stability(Stable) public CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.Builder name(String name) Sets the value ofCfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.getName()- Parameters:
name- The name of the field-level encryption profile. This parameter is required. Names are unique within an AWS account.- Returns:
this
-
comment
@Stability(Stable) public CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.Builder comment(String comment) Sets the value ofCfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty.getComment()- Parameters:
comment- An optional comment describing the field-level encryption profile.- Returns:
this
-
build
@Stability(Stable) public CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty>- Returns:
- a new instance of
CfnFieldLevelEncryptionProfile.FieldLevelEncryptionProfileConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-