Interface GetResourcePolicyResponse.Builder

  • Method Details

    • policy

      The resource-based policy attached to the Lambda resource you specified.

      Parameters:
      policy - The resource-based policy attached to the Lambda resource you specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionId

      GetResourcePolicyResponse.Builder revisionId(String revisionId)

      The revision ID of the policy. Pass this value as the RevisionId in a PutResourcePolicy or DeleteResourcePolicy request. Doing so ensures the operation acts on the expected version of the policy.

      Parameters:
      revisionId - The revision ID of the policy. Pass this value as the RevisionId in a PutResourcePolicy or DeleteResourcePolicy request. Doing so ensures the operation acts on the expected version of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.