Interface RootCertificatePublicKey.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RootCertificatePublicKey.Builder,
,RootCertificatePublicKey> SdkBuilder<RootCertificatePublicKey.Builder,
,RootCertificatePublicKey> SdkPojo
- Enclosing class:
RootCertificatePublicKey
public static interface RootCertificatePublicKey.Builder
extends SdkPojo, CopyableBuilder<RootCertificatePublicKey.Builder,RootCertificatePublicKey>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RootCertificatePublicKey.Builder
keyAttributes
(Consumer<KeyAttributes.Builder> keyAttributes) The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.keyAttributes
(KeyAttributes keyAttributes) The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.publicKeyCertificate
(String publicKeyCertificate) Parameter information for root public key certificate import.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
-
keyAttributes
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.
- Parameters:
keyAttributes
- The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyAttributes
default RootCertificatePublicKey.Builder keyAttributes(Consumer<KeyAttributes.Builder> keyAttributes) The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.
This is a convenience method that creates an instance of theKeyAttributes.Builder
avoiding the need to create one manually viaKeyAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyAttributes(KeyAttributes)
.- Parameters:
keyAttributes
- a consumer that will call methods onKeyAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publicKeyCertificate
Parameter information for root public key certificate import.
- Parameters:
publicKeyCertificate
- Parameter information for root public key certificate import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-