Interface EncryptionEntity.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<EncryptionEntity.Builder,EncryptionEntity>
,SdkBuilder<EncryptionEntity.Builder,EncryptionEntity>
,SdkPojo
- Enclosing class:
- EncryptionEntity
public static interface EncryptionEntity.Builder extends SdkPojo, CopyableBuilder<EncryptionEntity.Builder,EncryptionEntity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EncryptionEntity.Builder
fieldPatterns(Consumer<FieldPatterns.Builder> fieldPatterns)
Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted.EncryptionEntity.Builder
fieldPatterns(FieldPatterns fieldPatterns)
Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted.EncryptionEntity.Builder
providerId(String providerId)
The provider associated with the public key being used for encryption.EncryptionEntity.Builder
publicKeyId(String publicKeyId)
The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.-
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
-
publicKeyId
EncryptionEntity.Builder publicKeyId(String publicKeyId)
The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
- Parameters:
publicKeyId
- The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerId
EncryptionEntity.Builder providerId(String providerId)
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.
- Parameters:
providerId
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldPatterns
EncryptionEntity.Builder fieldPatterns(FieldPatterns fieldPatterns)
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.
- Parameters:
fieldPatterns
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldPatterns
default EncryptionEntity.Builder fieldPatterns(Consumer<FieldPatterns.Builder> fieldPatterns)
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.
This is a convenience method that creates an instance of theFieldPatterns.Builder
avoiding the need to create one manually viaFieldPatterns.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofieldPatterns(FieldPatterns)
.- Parameters:
fieldPatterns
- a consumer that will call methods onFieldPatterns.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fieldPatterns(FieldPatterns)
-
-