Class CfnKeyPropsMixin.KeyModesOfUseProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.paymentcryptography.CfnKeyPropsMixin.KeyModesOfUseProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeyPropsMixin.KeyModesOfUseProperty>
- Enclosing interface:
CfnKeyPropsMixin.KeyModesOfUseProperty
@Stability(Stable)
public static final class CfnKeyPropsMixin.KeyModesOfUseProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKeyPropsMixin.KeyModesOfUseProperty>
A builder for
CfnKeyPropsMixin.KeyModesOfUseProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getDecrypt()decrypt(IResolvable decrypt) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getDecrypt()Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getDeriveKey()deriveKey(IResolvable deriveKey) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getDeriveKey()Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getEncrypt()encrypt(IResolvable encrypt) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getEncrypt()Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getGenerate()generate(IResolvable generate) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getGenerate()noRestrictions(Boolean noRestrictions) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getNoRestrictions()noRestrictions(IResolvable noRestrictions) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getNoRestrictions()Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getSign()sign(IResolvable sign) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getSign()Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getUnwrap()unwrap(IResolvable unwrap) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getUnwrap()Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getVerify()verify(IResolvable verify) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getVerify()Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getWrap()wrap(IResolvable wrap) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getWrap()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
decrypt
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getDecrypt()- Parameters:
decrypt- Specifies whether an AWS Payment Cryptography key can be used to decrypt data.- Returns:
this
-
decrypt
@Stability(Stable) public CfnKeyPropsMixin.KeyModesOfUseProperty.Builder decrypt(IResolvable decrypt) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getDecrypt()- Parameters:
decrypt- Specifies whether an AWS Payment Cryptography key can be used to decrypt data.- Returns:
this
-
deriveKey
@Stability(Stable) public CfnKeyPropsMixin.KeyModesOfUseProperty.Builder deriveKey(Boolean deriveKey) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getDeriveKey()- Parameters:
deriveKey- Specifies whether an AWS Payment Cryptography key can be used to derive new keys.- Returns:
this
-
deriveKey
@Stability(Stable) public CfnKeyPropsMixin.KeyModesOfUseProperty.Builder deriveKey(IResolvable deriveKey) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getDeriveKey()- Parameters:
deriveKey- Specifies whether an AWS Payment Cryptography key can be used to derive new keys.- Returns:
this
-
encrypt
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getEncrypt()- Parameters:
encrypt- Specifies whether an AWS Payment Cryptography key can be used to encrypt data.- Returns:
this
-
encrypt
@Stability(Stable) public CfnKeyPropsMixin.KeyModesOfUseProperty.Builder encrypt(IResolvable encrypt) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getEncrypt()- Parameters:
encrypt- Specifies whether an AWS Payment Cryptography key can be used to encrypt data.- Returns:
this
-
generate
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getGenerate()- Parameters:
generate- Specifies whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys.- Returns:
this
-
generate
@Stability(Stable) public CfnKeyPropsMixin.KeyModesOfUseProperty.Builder generate(IResolvable generate) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getGenerate()- Parameters:
generate- Specifies whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys.- Returns:
this
-
noRestrictions
@Stability(Stable) public CfnKeyPropsMixin.KeyModesOfUseProperty.Builder noRestrictions(Boolean noRestrictions) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getNoRestrictions()- Parameters:
noRestrictions- Specifies whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied byKeyUsage.- Returns:
this
-
noRestrictions
@Stability(Stable) public CfnKeyPropsMixin.KeyModesOfUseProperty.Builder noRestrictions(IResolvable noRestrictions) Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getNoRestrictions()- Parameters:
noRestrictions- Specifies whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied byKeyUsage.- Returns:
this
-
sign
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getSign()- Parameters:
sign- Specifies whether an AWS Payment Cryptography key can be used for signing.- Returns:
this
-
sign
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getSign()- Parameters:
sign- Specifies whether an AWS Payment Cryptography key can be used for signing.- Returns:
this
-
unwrap
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getUnwrap()- Parameters:
unwrap- the value to be set.- Returns:
this
-
unwrap
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getUnwrap()- Parameters:
unwrap- the value to be set.- Returns:
this
-
verify
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getVerify()- Parameters:
verify- Specifies whether an AWS Payment Cryptography key can be used to verify signatures.- Returns:
this
-
verify
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getVerify()- Parameters:
verify- Specifies whether an AWS Payment Cryptography key can be used to verify signatures.- Returns:
this
-
wrap
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getWrap()- Parameters:
wrap- Specifies whether an AWS Payment Cryptography key can be used to wrap other keys.- Returns:
this
-
wrap
Sets the value ofCfnKeyPropsMixin.KeyModesOfUseProperty.getWrap()- Parameters:
wrap- Specifies whether an AWS Payment Cryptography key can be used to wrap other keys.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKeyPropsMixin.KeyModesOfUseProperty>- Returns:
- a new instance of
CfnKeyPropsMixin.KeyModesOfUseProperty - Throws:
NullPointerException- if any required attribute was not provided
-