Interface GenerateDataKeyPairWithoutPlaintextResponse.Builder

    • Method Detail

      • privateKeyCiphertextBlob

        GenerateDataKeyPairWithoutPlaintextResponse.Builder privateKeyCiphertextBlob​(SdkBytes privateKeyCiphertextBlob)

        The encrypted copy of the private key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

        Parameters:
        privateKeyCiphertextBlob - The encrypted copy of the private key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicKey

        GenerateDataKeyPairWithoutPlaintextResponse.Builder publicKey​(SdkBytes publicKey)

        The public key (in plaintext). When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

        Parameters:
        publicKey - The public key (in plaintext). When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyId

        GenerateDataKeyPairWithoutPlaintextResponse.Builder keyId​(String keyId)

        The Amazon Resource Name (key ARN) of the KMS key that encrypted the private key.

        Parameters:
        keyId - The Amazon Resource Name (key ARN) of the KMS key that encrypted the private key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyMaterialId

        GenerateDataKeyPairWithoutPlaintextResponse.Builder keyMaterialId​(String keyMaterialId)

        The identifier of the key material used to encrypt the private key.

        Parameters:
        keyMaterialId - The identifier of the key material used to encrypt the private key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.