Package com.pulumi.aws.kms.inputs
Class GrantConstraintArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.kms.inputs.GrantConstraintArgs.Builder
-
- Enclosing class:
- GrantConstraintArgs
public static final class GrantConstraintArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GrantConstraintArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrantConstraintArgsbuild()GrantConstraintArgs.BuilderencryptionContextEquals(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> encryptionContextEquals)GrantConstraintArgs.BuilderencryptionContextEquals(java.util.Map<java.lang.String,java.lang.String> encryptionContextEquals)GrantConstraintArgs.BuilderencryptionContextSubset(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> encryptionContextSubset)GrantConstraintArgs.BuilderencryptionContextSubset(java.util.Map<java.lang.String,java.lang.String> encryptionContextSubset)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GrantConstraintArgs defaults)
-
-
Method Detail
-
encryptionContextEquals
public GrantConstraintArgs.Builder encryptionContextEquals(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> encryptionContextEquals)
- Parameters:
encryptionContextEquals- List of key-value pairs that must match the encryption context in subsequent cryptographic operation requests. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint. Conflicts with `encryptionContextSubset`.- Returns:
- builder
-
encryptionContextEquals
public GrantConstraintArgs.Builder encryptionContextEquals(java.util.Map<java.lang.String,java.lang.String> encryptionContextEquals)
- Parameters:
encryptionContextEquals- List of key-value pairs that must match the encryption context in subsequent cryptographic operation requests. The grant allows the operation only when the encryption context in the request is the same as the encryption context specified in this constraint. Conflicts with `encryptionContextSubset`.- Returns:
- builder
-
encryptionContextSubset
public GrantConstraintArgs.Builder encryptionContextSubset(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> encryptionContextSubset)
- Parameters:
encryptionContextSubset- List of key-value pairs that must be included in the encryption context of subsequent cryptographic operation requests. 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. Conflicts with `encryptionContextEquals`.- Returns:
- builder
-
encryptionContextSubset
public GrantConstraintArgs.Builder encryptionContextSubset(java.util.Map<java.lang.String,java.lang.String> encryptionContextSubset)
- Parameters:
encryptionContextSubset- List of key-value pairs that must be included in the encryption context of subsequent cryptographic operation requests. 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. Conflicts with `encryptionContextEquals`.- Returns:
- builder
-
build
public GrantConstraintArgs build()
-
-