Interface KeyAttributes.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<KeyAttributes.Builder,,- KeyAttributes> - SdkBuilder<KeyAttributes.Builder,,- KeyAttributes> - SdkPojo
- Enclosing class:
- KeyAttributes
- 
Method SummaryModifier and TypeMethodDescriptionkeyAlgorithm(String keyAlgorithm) The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.keyAlgorithm(KeyAlgorithm keyAlgorithm) The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.default KeyAttributes.BuilderkeyModesOfUse(Consumer<KeyModesOfUse.Builder> keyModesOfUse) The list of cryptographic operations that you can perform using the key.keyModesOfUse(KeyModesOfUse keyModesOfUse) The list of cryptographic operations that you can perform using the key.The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
keyUsageThe cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec. - Parameters:
- keyUsage- The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
keyUsageThe cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec. - Parameters:
- keyUsage- The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
keyClassThe type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair. - Parameters:
- keyClass- The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
keyClassThe type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair. - Parameters:
- keyClass- The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
keyAlgorithmThe key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key. For symmetric keys, Amazon Web Services Payment Cryptography supports AESandTDESalgorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supportsRSAandECC_NISTalgorithms.- Parameters:
- keyAlgorithm- The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.- For symmetric keys, Amazon Web Services Payment Cryptography supports - AESand- TDESalgorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports- RSAand- ECC_NISTalgorithms.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
keyAlgorithmThe key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key. For symmetric keys, Amazon Web Services Payment Cryptography supports AESandTDESalgorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supportsRSAandECC_NISTalgorithms.- Parameters:
- keyAlgorithm- The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.- For symmetric keys, Amazon Web Services Payment Cryptography supports - AESand- TDESalgorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports- RSAand- ECC_NISTalgorithms.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
keyModesOfUseThe list of cryptographic operations that you can perform using the key. - Parameters:
- keyModesOfUse- The list of cryptographic operations that you can perform using the key.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
keyModesOfUseThe list of cryptographic operations that you can perform using the key. This is a convenience method that creates an instance of theKeyModesOfUse.Builderavoiding the need to create one manually viaKeyModesOfUse.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyModesOfUse(KeyModesOfUse).- Parameters:
- keyModesOfUse- a consumer that will call methods on- KeyModesOfUse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-