Interface ImportKeyCryptogram.Builder

  • Method Details

    • keyAttributes

      ImportKeyCryptogram.Builder keyAttributes(KeyAttributes keyAttributes)
      Sets the value of the KeyAttributes property for this object.
      Parameters:
      keyAttributes - The new value for the KeyAttributes property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyAttributes

      default ImportKeyCryptogram.Builder keyAttributes(Consumer<KeyAttributes.Builder> keyAttributes)
      Sets the value of the KeyAttributes property for this object. 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:
    • exportable

      ImportKeyCryptogram.Builder exportable(Boolean exportable)

      Specifies whether the key is exportable from the service.

      Parameters:
      exportable - Specifies whether the key is exportable from the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • wrappedKeyCryptogram

      ImportKeyCryptogram.Builder wrappedKeyCryptogram(String wrappedKeyCryptogram)

      The RSA wrapped key cryptogram under import.

      Parameters:
      wrappedKeyCryptogram - The RSA wrapped key cryptogram under import.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importToken

      ImportKeyCryptogram.Builder importToken(String importToken)

      The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 30 days. You can use the same import token to import multiple keys to the same service account.

      Parameters:
      importToken - The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 30 days. You can use the same import token to import multiple keys to the same service account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • wrappingSpec

      ImportKeyCryptogram.Builder wrappingSpec(String wrappingSpec)

      The wrapping spec for the wrapped key cryptogram.

      Parameters:
      wrappingSpec - The wrapping spec for the wrapped key cryptogram.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • wrappingSpec

      ImportKeyCryptogram.Builder wrappingSpec(WrappingKeySpec wrappingSpec)

      The wrapping spec for the wrapped key cryptogram.

      Parameters:
      wrappingSpec - The wrapping spec for the wrapped key cryptogram.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: