Class CfnRuntimePropsMixin.RequestHeaderConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnRuntimePropsMixin.RequestHeaderConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuntimePropsMixin.RequestHeaderConfigurationProperty>
- Enclosing interface:
CfnRuntimePropsMixin.RequestHeaderConfigurationProperty
@Stability(Stable)
public static final class CfnRuntimePropsMixin.RequestHeaderConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuntimePropsMixin.RequestHeaderConfigurationProperty>
A builder for
CfnRuntimePropsMixin.RequestHeaderConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.requestHeaderAllowlist(List<String> requestHeaderAllowlist)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
requestHeaderAllowlist
@Stability(Stable) public CfnRuntimePropsMixin.RequestHeaderConfigurationProperty.Builder requestHeaderAllowlist(List<String> requestHeaderAllowlist) Sets the value ofCfnRuntimePropsMixin.RequestHeaderConfigurationProperty.getRequestHeaderAllowlist()- Parameters:
requestHeaderAllowlist- List of allowed HTTP headers for agent runtime requests.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuntimePropsMixin.RequestHeaderConfigurationProperty>- Returns:
- a new instance of
CfnRuntimePropsMixin.RequestHeaderConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-