Interface PrivateKeyAttributesV4.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PrivateKeyAttributesV4.Builder,
,PrivateKeyAttributesV4> SdkBuilder<PrivateKeyAttributesV4.Builder,
,PrivateKeyAttributesV4> SdkPojo
- Enclosing class:
PrivateKeyAttributesV4
-
Method Summary
Modifier and TypeMethodDescriptionDefines the algorithm used to generate the private key.algorithm
(PrivateKeyAlgorithm algorithm) Defines the algorithm used to generate the private key.cryptoProviders
(String... cryptoProviders) Defines the cryptographic providers used to generate the private key.cryptoProviders
(Collection<String> cryptoProviders) Defines the cryptographic providers used to generate the private key.Defines the purpose of the private key.Defines the purpose of the private key.default PrivateKeyAttributesV4.Builder
keyUsageProperty
(Consumer<KeyUsageProperty.Builder> keyUsageProperty) The key usage property defines the purpose of the private key contained in the certificate.keyUsageProperty
(KeyUsageProperty keyUsageProperty) The key usage property defines the purpose of the private key contained in the certificate.minimalKeyLength
(Integer minimalKeyLength) Set the minimum key length of the private key.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 Details
-
algorithm
Defines the algorithm used to generate the private key.
- Parameters:
algorithm
- Defines the algorithm used to generate the private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
algorithm
Defines the algorithm used to generate the private key.
- Parameters:
algorithm
- Defines the algorithm used to generate the private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cryptoProviders
Defines the cryptographic providers used to generate the private key.
- Parameters:
cryptoProviders
- Defines the cryptographic providers used to generate the private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cryptoProviders
Defines the cryptographic providers used to generate the private key.
- Parameters:
cryptoProviders
- Defines the cryptographic providers used to generate the private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySpec
Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
- Parameters:
keySpec
- Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keySpec
Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
- Parameters:
keySpec
- Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyUsageProperty
The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.
- Parameters:
keyUsageProperty
- The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyUsageProperty
default PrivateKeyAttributesV4.Builder keyUsageProperty(Consumer<KeyUsageProperty.Builder> keyUsageProperty) The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.
This is a convenience method that creates an instance of theKeyUsageProperty.Builder
avoiding the need to create one manually viaKeyUsageProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyUsageProperty(KeyUsageProperty)
.- Parameters:
keyUsageProperty
- a consumer that will call methods onKeyUsageProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
minimalKeyLength
Set the minimum key length of the private key.
- Parameters:
minimalKeyLength
- Set the minimum key length of the private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-