Interface TrustedCertificatePublicKey.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrustedCertificatePublicKey.Builder,
,TrustedCertificatePublicKey> SdkBuilder<TrustedCertificatePublicKey.Builder,
,TrustedCertificatePublicKey> SdkPojo
- Enclosing class:
TrustedCertificatePublicKey
public static interface TrustedCertificatePublicKey.Builder
extends SdkPojo, CopyableBuilder<TrustedCertificatePublicKey.Builder,TrustedCertificatePublicKey>
-
Method Summary
Modifier and TypeMethodDescriptioncertificateAuthorityPublicKeyIdentifier
(String certificateAuthorityPublicKeyIdentifier) TheKeyARN
of the root public key certificate or certificate chain that signs the trusted public key certificate import.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 trusted 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 a trusted 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 a trusted public key is imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyAttributes
default TrustedCertificatePublicKey.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 a trusted 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 trusted public key certificate import.
- Parameters:
publicKeyCertificate
- Parameter information for trusted public key certificate import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateAuthorityPublicKeyIdentifier
TrustedCertificatePublicKey.Builder certificateAuthorityPublicKeyIdentifier(String certificateAuthorityPublicKeyIdentifier) The
KeyARN
of the root public key certificate or certificate chain that signs the trusted public key certificate import.- Parameters:
certificateAuthorityPublicKeyIdentifier
- TheKeyARN
of the root public key certificate or certificate chain that signs the trusted public key certificate import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-