Class CfnGateway.InterceptorConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGateway.InterceptorConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGateway.InterceptorConfigurationProperty>
- Enclosing interface:
CfnGateway.InterceptorConfigurationProperty
@Stability(Stable)
public static final class CfnGateway.InterceptorConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGateway.InterceptorConfigurationProperty>
A builder for
CfnGateway.InterceptorConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.lambda(IResolvable lambda) Sets the value ofCfnGateway.InterceptorConfigurationProperty.getLambda()Sets the value ofCfnGateway.InterceptorConfigurationProperty.getLambda()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambda
@Stability(Stable) public CfnGateway.InterceptorConfigurationProperty.Builder lambda(IResolvable lambda) Sets the value ofCfnGateway.InterceptorConfigurationProperty.getLambda()- Parameters:
lambda- the value to be set. This parameter is required.- Returns:
this
-
lambda
@Stability(Stable) public CfnGateway.InterceptorConfigurationProperty.Builder lambda(CfnGateway.LambdaInterceptorConfigurationProperty lambda) Sets the value ofCfnGateway.InterceptorConfigurationProperty.getLambda()- Parameters:
lambda- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGateway.InterceptorConfigurationProperty>- Returns:
- a new instance of
CfnGateway.InterceptorConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-