Interface KmsGrantConstraints.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KmsGrantConstraints.Builder,KmsGrantConstraints>,SdkBuilder<KmsGrantConstraints.Builder,KmsGrantConstraints>,SdkPojo
- Enclosing class:
- KmsGrantConstraints
public static interface KmsGrantConstraints.Builder extends SdkPojo, CopyableBuilder<KmsGrantConstraints.Builder,KmsGrantConstraints>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KmsGrantConstraints.BuilderencryptionContextEquals(Map<String,String> encryptionContextEquals)A list of key-value pairs that must match the encryption context in the cryptographic operation request.KmsGrantConstraints.BuilderencryptionContextSubset(Map<String,String> encryptionContextSubset)A list of key-value pairs that must be included in the encryption context of the cryptographic operation request.-
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
-
encryptionContextEquals
KmsGrantConstraints.Builder encryptionContextEquals(Map<String,String> encryptionContextEquals)
A list of key-value pairs that must match the encryption context in the cryptographic operation request. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint.
- Parameters:
encryptionContextEquals- A list of key-value pairs that must match the encryption context in the cryptographic operation request. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionContextSubset
KmsGrantConstraints.Builder encryptionContextSubset(Map<String,String> encryptionContextSubset)
A list of key-value pairs that must be included in the encryption context of the cryptographic operation request. The grant allows the cryptographic operation only when the encryption context in the request includes the key-value pairs specified in this constraint, although it can include additional key-value pairs.
- Parameters:
encryptionContextSubset- A list of key-value pairs that must be included in the encryption context of the cryptographic operation request. The grant allows the cryptographic operation only when the encryption context in the request includes the key-value pairs specified in this constraint, although it can include additional key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-