Interface EncryptionConfig.Builder

    • Method Detail

      • roleArn

        EncryptionConfig.Builder roleArn​(String roleArn)

        The ARN of the IAM role that Amazon Forecast can assume to access the KMS key.

        Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error.

        Parameters:
        roleArn - The ARN of the IAM role that Amazon Forecast can assume to access the KMS key.

        Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyArn

        EncryptionConfig.Builder kmsKeyArn​(String kmsKeyArn)

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

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