Interface CreatePolicyInformationProviderConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CreatePolicyInformationProviderConfiguration.Builder,,CreatePolicyInformationProviderConfiguration> SdkBuilder<CreatePolicyInformationProviderConfiguration.Builder,,CreatePolicyInformationProviderConfiguration> SdkPojo
- Enclosing class:
CreatePolicyInformationProviderConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncredentialProvider(Consumer<PolicyInformationProviderCredentialProvider.Builder> credentialProvider) The credential provider that the policy engine uses to call the provider.credentialProvider(PolicyInformationProviderCredentialProvider credentialProvider) The credential provider that the policy engine uses to call the provider.The URL of your provider endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
credentialProvider
CreatePolicyInformationProviderConfiguration.Builder credentialProvider(PolicyInformationProviderCredentialProvider 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
default CreatePolicyInformationProviderConfiguration.Builder credentialProvider(Consumer<PolicyInformationProviderCredentialProvider.Builder> 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 thePolicyInformationProviderCredentialProvider.Builderavoiding the need to create one manually viaPolicyInformationProviderCredentialProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentialProvider(PolicyInformationProviderCredentialProvider).- Parameters:
credentialProvider- a consumer that will call methods onPolicyInformationProviderCredentialProvider.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, andZscaleruse 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 ishttps://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 ashttps://api.us1.zseclipse.net.
- Parameters:
url- The URL of your provider endpoint. If you omit it,CheckPoint,PromptSecurity, andZscaleruse 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 ishttps://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 ashttps://api.us1.zseclipse.net.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-