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 Details

    • keyAttributes

      TrustedCertificatePublicKey.Builder keyAttributes(KeyAttributes 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 the KeyAttributes.Builder avoiding the need to create one manually via KeyAttributes.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to keyAttributes(KeyAttributes).

      Parameters:
      keyAttributes - a consumer that will call methods on KeyAttributes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • publicKeyCertificate

      TrustedCertificatePublicKey.Builder publicKeyCertificate(String 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 - The KeyARN 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.