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