Class ApiGatewayTargetConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.ApiGatewayTargetConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApiGatewayTargetConfigurationProps>
- Enclosing interface:
ApiGatewayTargetConfigurationProps
@Stability(Stable)
public static final class ApiGatewayTargetConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<ApiGatewayTargetConfigurationProps>
A builder for
ApiGatewayTargetConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiGatewayToolConfiguration(ApiGatewayToolConfiguration apiGatewayToolConfiguration) Sets the value ofApiGatewayTargetConfigurationProps.getApiGatewayToolConfiguration()build()Builds the configured instance.metadataConfiguration(MetadataConfiguration metadataConfiguration) Sets the value ofApiGatewayTargetConfigurationProps.getMetadataConfiguration()Sets the value ofApiGatewayTargetConfigurationProps.getRestApi()Sets the value ofApiGatewayTargetConfigurationProps.getStage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiGatewayToolConfiguration
@Stability(Stable) public ApiGatewayTargetConfigurationProps.Builder apiGatewayToolConfiguration(ApiGatewayToolConfiguration apiGatewayToolConfiguration) Sets the value ofApiGatewayTargetConfigurationProps.getApiGatewayToolConfiguration()- Parameters:
apiGatewayToolConfiguration- Tool configuration defining which operations to expose. This parameter is required.- Returns:
this
-
restApi
Sets the value ofApiGatewayTargetConfigurationProps.getRestApi()- Parameters:
restApi- The REST API to integrate with Must be in the same account and region as the gateway. This parameter is required.- Returns:
this
-
metadataConfiguration
@Stability(Stable) public ApiGatewayTargetConfigurationProps.Builder metadataConfiguration(MetadataConfiguration metadataConfiguration) Sets the value ofApiGatewayTargetConfigurationProps.getMetadataConfiguration()- Parameters:
metadataConfiguration- Metadata configuration for passing headers and query parameters Allows you to pass additional context through headers and query parameters.- Returns:
this
-
stage
Sets the value ofApiGatewayTargetConfigurationProps.getStage()- Parameters:
stage- The stage name of the REST API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApiGatewayTargetConfigurationProps>- Returns:
- a new instance of
ApiGatewayTargetConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-