Class InterceptorOptions.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.InterceptorOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InterceptorOptions>
- Enclosing interface:
InterceptorOptions
@Stability(Stable)
public static final class InterceptorOptions.Builder
extends Object
implements software.amazon.jsii.Builder<InterceptorOptions>
A builder for
InterceptorOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.passRequestHeaders(Boolean passRequestHeaders) Sets the value ofInterceptorOptions.getPassRequestHeaders()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
passRequestHeaders
Sets the value ofInterceptorOptions.getPassRequestHeaders()- Parameters:
passRequestHeaders- Whether to pass request headers to the interceptor Lambda function. Security Warning: Request headers can contain sensitive information such as authentication tokens and credentials. Only enable this if your interceptor needs access to headers and you have verified that sensitive information is not logged or exposed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InterceptorOptions>- Returns:
- a new instance of
InterceptorOptions - Throws:
NullPointerException- if any required attribute was not provided
-