Interface KmsGrantConfiguration.Builder

    • Method Detail

      • operationsWithStrings

        KmsGrantConfiguration.Builder operationsWithStrings​(Collection<String> operations)

        A list of operations that the grant permits.

        Parameters:
        operations - A list of operations that the grant permits.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operationsWithStrings

        KmsGrantConfiguration.Builder operationsWithStrings​(String... operations)

        A list of operations that the grant permits.

        Parameters:
        operations - A list of operations that the grant permits.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operations

        KmsGrantConfiguration.Builder operations​(Collection<KmsGrantOperation> operations)

        A list of operations that the grant permits.

        Parameters:
        operations - A list of operations that the grant permits.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operations

        KmsGrantConfiguration.Builder operations​(KmsGrantOperation... operations)

        A list of operations that the grant permits.

        Parameters:
        operations - A list of operations that the grant permits.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • granteePrincipal

        KmsGrantConfiguration.Builder granteePrincipal​(String granteePrincipal)

        The principal that is given permission to perform the operations that the grant permits.

        Parameters:
        granteePrincipal - The principal that is given permission to perform the operations that the grant permits.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retiringPrincipal

        KmsGrantConfiguration.Builder retiringPrincipal​(String retiringPrincipal)

        The principal that is given permission to retire the grant by using RetireGrant operation.

        Parameters:
        retiringPrincipal - The principal that is given permission to retire the grant by using RetireGrant operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • issuingAccount

        KmsGrantConfiguration.Builder issuingAccount​(String issuingAccount)

        The Amazon Web Services account under which the grant was issued. The account is used to propose KMS grants issued by accounts other than the owner of the key.

        Parameters:
        issuingAccount - The Amazon Web Services account under which the grant was issued. The account is used to propose KMS grants issued by accounts other than the owner of the key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.