Class CfnAgent.APISchemaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnAgent.APISchemaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgent.APISchemaProperty>
- Enclosing interface:
CfnAgent.APISchemaProperty
@Stability(Stable)
public static final class CfnAgent.APISchemaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgent.APISchemaProperty>
A builder for
CfnAgent.APISchemaProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAgent.APISchemaProperty.getPayload()
s3
(IResolvable s3) Sets the value ofCfnAgent.APISchemaProperty.getS3()
Sets the value ofCfnAgent.APISchemaProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
payload
Sets the value ofCfnAgent.APISchemaProperty.getPayload()
- Parameters:
payload
- The JSON or YAML-formatted payload defining the OpenAPI schema for the action group.- Returns:
this
-
s3
Sets the value ofCfnAgent.APISchemaProperty.getS3()
- Parameters:
s3
- Contains details about the S3 object containing the OpenAPI schema for the action group.- Returns:
this
-
s3
Sets the value ofCfnAgent.APISchemaProperty.getS3()
- Parameters:
s3
- Contains details about the S3 object containing the OpenAPI schema for the action group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAgent.APISchemaProperty>
- Returns:
- a new instance of
CfnAgent.APISchemaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-