Interface CreatePolicyInformationProviderConfiguration.Builder

  • Method Details

    • credentialProvider

      The credential provider that the policy engine uses to call the provider. Specify the API key credential provider in AgentCore Identity that stores your provider API key.

      Parameters:
      credentialProvider - The credential provider that the policy engine uses to call the provider. Specify the API key credential provider in AgentCore Identity that stores your provider API key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentialProvider

      The credential provider that the policy engine uses to call the provider. Specify the API key credential provider in AgentCore Identity that stores your provider API key.

      This is a convenience method that creates an instance of the PolicyInformationProviderCredentialProvider.Builder avoiding the need to create one manually via PolicyInformationProviderCredentialProvider.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to credentialProvider(PolicyInformationProviderCredentialProvider).

      Parameters:
      credentialProvider - a consumer that will call methods on PolicyInformationProviderCredentialProvider.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • url

      The URL of your provider endpoint. If you omit it, CheckPoint, PromptSecurity, and Zscaler use their default URL. Netskope and Rubrik have no default URL, so you must specify it. The URL must use HTTPS and must not include a port. Its host name must match the provider:

      CheckPoint

      https://api.lakera.ai, which is also the default.

      Netskope

      The API URL of your Netskope tenant, https://tenant.goskope.com/api/v2. Required.

      PromptSecurity

      The regional host name of your Prompt Security tenant, https://region.prompt.security. The default is https://useast.prompt.security.

      Rubrik

      The moderation webhook URL of your Rubrik Agent Cloud tenant, on a host name such as webhooks.air-prod.predibase.com. Required.

      Zscaler

      https://api.zseclipse.net, which is the default, or a regional host name such as https://api.us1.zseclipse.net.

      Parameters:
      url - The URL of your provider endpoint. If you omit it, CheckPoint, PromptSecurity, and Zscaler use their default URL. Netskope and Rubrik have no default URL, so you must specify it. The URL must use HTTPS and must not include a port. Its host name must match the provider:

      CheckPoint

      https://api.lakera.ai, which is also the default.

      Netskope

      The API URL of your Netskope tenant, https://tenant.goskope.com/api/v2. Required.

      PromptSecurity

      The regional host name of your Prompt Security tenant, https://region.prompt.security. The default is https://useast.prompt.security.

      Rubrik

      The moderation webhook URL of your Rubrik Agent Cloud tenant, on a host name such as webhooks.air-prod.predibase.com. Required.

      Zscaler

      https://api.zseclipse.net, which is the default, or a regional host name such as https://api.us1.zseclipse.net.

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