Class CfnGatewayTarget.ApiGatewayTargetConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTarget.ApiGatewayTargetConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTarget.ApiGatewayTargetConfigurationProperty>
- Enclosing interface:
CfnGatewayTarget.ApiGatewayTargetConfigurationProperty
@Stability(Stable)
public static final class CfnGatewayTarget.ApiGatewayTargetConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTarget.ApiGatewayTargetConfigurationProperty>
A builder for
CfnGatewayTarget.ApiGatewayTargetConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiGatewayToolConfiguration(IResolvable apiGatewayToolConfiguration) apiGatewayToolConfiguration(CfnGatewayTarget.ApiGatewayToolConfigurationProperty apiGatewayToolConfiguration) build()Builds the configured instance.Sets the value ofCfnGatewayTarget.ApiGatewayTargetConfigurationProperty.getRestApiId()Sets the value ofCfnGatewayTarget.ApiGatewayTargetConfigurationProperty.getStage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiGatewayToolConfiguration
@Stability(Stable) public CfnGatewayTarget.ApiGatewayTargetConfigurationProperty.Builder apiGatewayToolConfiguration(IResolvable apiGatewayToolConfiguration) Sets the value ofCfnGatewayTarget.ApiGatewayTargetConfigurationProperty.getApiGatewayToolConfiguration()- Parameters:
apiGatewayToolConfiguration- the value to be set. This parameter is required.- Returns:
this
-
apiGatewayToolConfiguration
@Stability(Stable) public CfnGatewayTarget.ApiGatewayTargetConfigurationProperty.Builder apiGatewayToolConfiguration(CfnGatewayTarget.ApiGatewayToolConfigurationProperty apiGatewayToolConfiguration) Sets the value ofCfnGatewayTarget.ApiGatewayTargetConfigurationProperty.getApiGatewayToolConfiguration()- Parameters:
apiGatewayToolConfiguration- the value to be set. This parameter is required.- Returns:
this
-
restApiId
@Stability(Stable) public CfnGatewayTarget.ApiGatewayTargetConfigurationProperty.Builder restApiId(String restApiId) Sets the value ofCfnGatewayTarget.ApiGatewayTargetConfigurationProperty.getRestApiId()- Parameters:
restApiId- the value to be set. This parameter is required.- Returns:
this
-
stage
@Stability(Stable) public CfnGatewayTarget.ApiGatewayTargetConfigurationProperty.Builder stage(String stage) Sets the value ofCfnGatewayTarget.ApiGatewayTargetConfigurationProperty.getStage()- Parameters:
stage- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayTarget.ApiGatewayTargetConfigurationProperty>- Returns:
- a new instance of
CfnGatewayTarget.ApiGatewayTargetConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-