Interface PrivateKeyAttributesV3.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PrivateKeyAttributesV3.Builder,PrivateKeyAttributesV3>,SdkBuilder<PrivateKeyAttributesV3.Builder,PrivateKeyAttributesV3>,SdkPojo
- Enclosing class:
- PrivateKeyAttributesV3
public static interface PrivateKeyAttributesV3.Builder extends SdkPojo, CopyableBuilder<PrivateKeyAttributesV3.Builder,PrivateKeyAttributesV3>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PrivateKeyAttributesV3.Builderalgorithm(String algorithm)Defines the algorithm used to generate the private key.PrivateKeyAttributesV3.Builderalgorithm(PrivateKeyAlgorithm algorithm)Defines the algorithm used to generate the private key.PrivateKeyAttributesV3.BuildercryptoProviders(String... cryptoProviders)Defines the cryptographic providers used to generate the private key.PrivateKeyAttributesV3.BuildercryptoProviders(Collection<String> cryptoProviders)Defines the cryptographic providers used to generate the private key.PrivateKeyAttributesV3.BuilderkeySpec(String keySpec)Defines the purpose of the private key.PrivateKeyAttributesV3.BuilderkeySpec(KeySpec keySpec)Defines the purpose of the private key.default PrivateKeyAttributesV3.BuilderkeyUsageProperty(Consumer<KeyUsageProperty.Builder> keyUsageProperty)The key usage property defines the purpose of the private key contained in the certificate.PrivateKeyAttributesV3.BuilderkeyUsageProperty(KeyUsageProperty keyUsageProperty)The key usage property defines the purpose of the private key contained in the certificate.PrivateKeyAttributesV3.BuilderminimalKeyLength(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 Detail
-
algorithm
PrivateKeyAttributesV3.Builder algorithm(String 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:
PrivateKeyAlgorithm,PrivateKeyAlgorithm
-
algorithm
PrivateKeyAttributesV3.Builder algorithm(PrivateKeyAlgorithm 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:
PrivateKeyAlgorithm,PrivateKeyAlgorithm
-
cryptoProviders
PrivateKeyAttributesV3.Builder cryptoProviders(Collection<String> 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
PrivateKeyAttributesV3.Builder cryptoProviders(String... 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
PrivateKeyAttributesV3.Builder keySpec(String keySpec)
Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
-
keySpec
PrivateKeyAttributesV3.Builder keySpec(KeySpec keySpec)
Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
-
keyUsageProperty
PrivateKeyAttributesV3.Builder keyUsageProperty(KeyUsageProperty 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 PrivateKeyAttributesV3.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.Builderavoiding the need to create one manually viaKeyUsageProperty.builder().When the
Consumercompletes,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:
keyUsageProperty(KeyUsageProperty)
-
minimalKeyLength
PrivateKeyAttributesV3.Builder minimalKeyLength(Integer 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.
-
-