Interface PolicyStatement.Builder

  • Method Details

    • statement

      PolicyStatement.Builder statement(String statement)

      The body of the AgentCore policy statement. Contains the policy logic, which can be a Cedar policy or a guardrails definition.

      Parameters:
      statement - The body of the AgentCore policy statement. Contains the policy logic, which can be a Cedar policy or a guardrails definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.