Struct aws_sdk_cloudfront::model::encryption_entity::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EncryptionEntity
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn public_key_id(self, input: impl Into<String>) -> Self
pub fn public_key_id(self, input: impl Into<String>) -> Self
The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
sourcepub fn set_public_key_id(self, input: Option<String>) -> Self
pub fn set_public_key_id(self, input: Option<String>) -> Self
The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
sourcepub fn provider_id(self, input: impl Into<String>) -> Self
pub fn provider_id(self, input: impl Into<String>) -> Self
The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.
sourcepub fn set_provider_id(self, input: Option<String>) -> Self
pub fn set_provider_id(self, input: Option<String>) -> Self
The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.
sourcepub fn field_patterns(self, input: FieldPatterns) -> Self
pub fn field_patterns(self, input: FieldPatterns) -> Self
Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.
sourcepub fn set_field_patterns(self, input: Option<FieldPatterns>) -> Self
pub fn set_field_patterns(self, input: Option<FieldPatterns>) -> Self
Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.
sourcepub fn build(self) -> EncryptionEntity
pub fn build(self) -> EncryptionEntity
Consumes the builder and constructs a EncryptionEntity
.