Interface GetParametersForImportResponse.Builder

    • Method Detail

      • keyId

        GetParametersForImportResponse.Builder keyId​(String keyId)

        The Amazon Resource Name (key ARN) of the KMS key to use in a subsequent ImportKeyMaterial request. This is the same KMS key specified in the GetParametersForImport request.

        Parameters:
        keyId - The Amazon Resource Name (key ARN) of the KMS key to use in a subsequent ImportKeyMaterial request. This is the same KMS key specified in the GetParametersForImport request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parametersValidTo

        GetParametersForImportResponse.Builder parametersValidTo​(Instant parametersValidTo)

        The time at which the import token and public key are no longer valid. After this time, you cannot use them to make an ImportKeyMaterial request and you must send another GetParametersForImport request to get new ones.

        Parameters:
        parametersValidTo - The time at which the import token and public key are no longer valid. After this time, you cannot use them to make an ImportKeyMaterial request and you must send another GetParametersForImport request to get new ones.
        Returns:
        Returns a reference to this object so that method calls can be chained together.