Interface CreateAliasRequest.Builder

    • Method Detail

      • aliasName

        CreateAliasRequest.Builder aliasName​(String aliasName)

        A friendly name that you can use to refer to a key. An alias must begin with alias/ followed by a name, for example alias/ExampleAlias. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-).

        Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.

        Parameters:
        aliasName - A friendly name that you can use to refer to a key. An alias must begin with alias/ followed by a name, for example alias/ExampleAlias. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-).

        Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.

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

        CreateAliasRequest.Builder keyArn​(String keyArn)

        The KeyARN of the key to associate with the alias.

        Parameters:
        keyArn - The KeyARN of the key to associate with the alias.
        Returns:
        Returns a reference to this object so that method calls can be chained together.