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