Class CfnGatewayMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnGatewayMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayMixinProps>
- Enclosing interface:
CfnGatewayMixinProps
@Stability(Stable)
public static final class CfnGatewayMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayMixinProps>
A builder for
CfnGatewayMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizerConfiguration(CfnGatewayPropsMixin.AuthorizerConfigurationProperty authorizerConfiguration) Sets the value ofCfnGatewayMixinProps.getAuthorizerConfiguration()authorizerConfiguration(IResolvable authorizerConfiguration) Sets the value ofCfnGatewayMixinProps.getAuthorizerConfiguration()authorizerType(String authorizerType) Sets the value ofCfnGatewayMixinProps.getAuthorizerType()build()Builds the configured instance.description(String description) Sets the value ofCfnGatewayMixinProps.getDescription()exceptionLevel(String exceptionLevel) Sets the value ofCfnGatewayMixinProps.getExceptionLevel()interceptorConfigurations(List<? extends Object> interceptorConfigurations) Sets the value ofCfnGatewayMixinProps.getInterceptorConfigurations()interceptorConfigurations(IResolvable interceptorConfigurations) Sets the value ofCfnGatewayMixinProps.getInterceptorConfigurations()Sets the value ofCfnGatewayMixinProps.getKmsKeyArn()Sets the value ofCfnGatewayMixinProps.getName()policyEngineConfiguration(CfnGatewayPropsMixin.GatewayPolicyEngineConfigurationProperty policyEngineConfiguration) Sets the value ofCfnGatewayMixinProps.getPolicyEngineConfiguration()policyEngineConfiguration(IResolvable policyEngineConfiguration) Sets the value ofCfnGatewayMixinProps.getPolicyEngineConfiguration()protocolConfiguration(CfnGatewayPropsMixin.GatewayProtocolConfigurationProperty protocolConfiguration) Sets the value ofCfnGatewayMixinProps.getProtocolConfiguration()protocolConfiguration(IResolvable protocolConfiguration) Sets the value ofCfnGatewayMixinProps.getProtocolConfiguration()protocolType(String protocolType) Sets the value ofCfnGatewayMixinProps.getProtocolType()Sets the value ofCfnGatewayMixinProps.getRoleArn()Sets the value ofCfnGatewayMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizerConfiguration
@Stability(Stable) public CfnGatewayMixinProps.Builder authorizerConfiguration(IResolvable authorizerConfiguration) Sets the value ofCfnGatewayMixinProps.getAuthorizerConfiguration()- Parameters:
authorizerConfiguration- the value to be set.- Returns:
this
-
authorizerConfiguration
@Stability(Stable) public CfnGatewayMixinProps.Builder authorizerConfiguration(CfnGatewayPropsMixin.AuthorizerConfigurationProperty authorizerConfiguration) Sets the value ofCfnGatewayMixinProps.getAuthorizerConfiguration()- Parameters:
authorizerConfiguration- the value to be set.- Returns:
this
-
authorizerType
Sets the value ofCfnGatewayMixinProps.getAuthorizerType()- Parameters:
authorizerType- The authorizer type for the gateway.- Returns:
this
-
description
Sets the value ofCfnGatewayMixinProps.getDescription()- Parameters:
description- The description for the gateway.- Returns:
this
-
exceptionLevel
Sets the value ofCfnGatewayMixinProps.getExceptionLevel()- Parameters:
exceptionLevel- The exception level for the gateway.- Returns:
this
-
interceptorConfigurations
@Stability(Stable) public CfnGatewayMixinProps.Builder interceptorConfigurations(IResolvable interceptorConfigurations) Sets the value ofCfnGatewayMixinProps.getInterceptorConfigurations()- Parameters:
interceptorConfigurations- the value to be set.- Returns:
this
-
interceptorConfigurations
@Stability(Stable) public CfnGatewayMixinProps.Builder interceptorConfigurations(List<? extends Object> interceptorConfigurations) Sets the value ofCfnGatewayMixinProps.getInterceptorConfigurations()- Parameters:
interceptorConfigurations- the value to be set.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnGatewayMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The KMS key ARN for the gateway.- Returns:
this
-
name
Sets the value ofCfnGatewayMixinProps.getName()- Parameters:
name- The name for the gateway.- Returns:
this
-
policyEngineConfiguration
@Stability(Stable) public CfnGatewayMixinProps.Builder policyEngineConfiguration(IResolvable policyEngineConfiguration) Sets the value ofCfnGatewayMixinProps.getPolicyEngineConfiguration()- Parameters:
policyEngineConfiguration- The configuration for a policy engine associated with a gateway. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies.- Returns:
this
-
policyEngineConfiguration
@Stability(Stable) public CfnGatewayMixinProps.Builder policyEngineConfiguration(CfnGatewayPropsMixin.GatewayPolicyEngineConfigurationProperty policyEngineConfiguration) Sets the value ofCfnGatewayMixinProps.getPolicyEngineConfiguration()- Parameters:
policyEngineConfiguration- The configuration for a policy engine associated with a gateway. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies.- Returns:
this
-
protocolConfiguration
@Stability(Stable) public CfnGatewayMixinProps.Builder protocolConfiguration(IResolvable protocolConfiguration) Sets the value ofCfnGatewayMixinProps.getProtocolConfiguration()- Parameters:
protocolConfiguration- The protocol configuration for the gateway target.- Returns:
this
-
protocolConfiguration
@Stability(Stable) public CfnGatewayMixinProps.Builder protocolConfiguration(CfnGatewayPropsMixin.GatewayProtocolConfigurationProperty protocolConfiguration) Sets the value ofCfnGatewayMixinProps.getProtocolConfiguration()- Parameters:
protocolConfiguration- The protocol configuration for the gateway target.- Returns:
this
-
protocolType
Sets the value ofCfnGatewayMixinProps.getProtocolType()- Parameters:
protocolType- The protocol type for the gateway target.- Returns:
this
-
roleArn
Sets the value ofCfnGatewayMixinProps.getRoleArn()- Parameters:
roleArn- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnGatewayMixinProps.getTags()- Parameters:
tags- The tags for the gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayMixinProps>- Returns:
- a new instance of
CfnGatewayMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-