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