Class CfnGatewayTarget.ApiSchemaConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTarget.ApiSchemaConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTarget.ApiSchemaConfigurationProperty>
- Enclosing interface:
CfnGatewayTarget.ApiSchemaConfigurationProperty
@Stability(Stable)
public static final class CfnGatewayTarget.ApiSchemaConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTarget.ApiSchemaConfigurationProperty>
A builder for
CfnGatewayTarget.ApiSchemaConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inlinePayload(String inlinePayload) Sets the value ofCfnGatewayTarget.ApiSchemaConfigurationProperty.getInlinePayload()s3(IResolvable s3) Sets the value ofCfnGatewayTarget.ApiSchemaConfigurationProperty.getS3()Sets the value ofCfnGatewayTarget.ApiSchemaConfigurationProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inlinePayload
@Stability(Stable) public CfnGatewayTarget.ApiSchemaConfigurationProperty.Builder inlinePayload(String inlinePayload) Sets the value ofCfnGatewayTarget.ApiSchemaConfigurationProperty.getInlinePayload()- Parameters:
inlinePayload- The inline payload for the gateway.- Returns:
this
-
s3
@Stability(Stable) public CfnGatewayTarget.ApiSchemaConfigurationProperty.Builder s3(IResolvable s3) Sets the value ofCfnGatewayTarget.ApiSchemaConfigurationProperty.getS3()- Parameters:
s3- The API schema configuration.- Returns:
this
-
s3
@Stability(Stable) public CfnGatewayTarget.ApiSchemaConfigurationProperty.Builder s3(CfnGatewayTarget.S3ConfigurationProperty s3) Sets the value ofCfnGatewayTarget.ApiSchemaConfigurationProperty.getS3()- Parameters:
s3- The API schema configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayTarget.ApiSchemaConfigurationProperty>- Returns:
- a new instance of
CfnGatewayTarget.ApiSchemaConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-