Class CfnPluginPropsMixin.CustomPluginConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.qbusiness.CfnPluginPropsMixin.CustomPluginConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPluginPropsMixin.CustomPluginConfigurationProperty>
- Enclosing interface:
CfnPluginPropsMixin.CustomPluginConfigurationProperty
@Stability(Stable)
public static final class CfnPluginPropsMixin.CustomPluginConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPluginPropsMixin.CustomPluginConfigurationProperty>
A builder for
CfnPluginPropsMixin.CustomPluginConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiSchema(CfnPluginPropsMixin.APISchemaProperty apiSchema) Sets the value ofCfnPluginPropsMixin.CustomPluginConfigurationProperty.getApiSchema()apiSchema(IResolvable apiSchema) Sets the value ofCfnPluginPropsMixin.CustomPluginConfigurationProperty.getApiSchema()apiSchemaType(String apiSchemaType) Sets the value ofCfnPluginPropsMixin.CustomPluginConfigurationProperty.getApiSchemaType()build()Builds the configured instance.description(String description) Sets the value ofCfnPluginPropsMixin.CustomPluginConfigurationProperty.getDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiSchema
@Stability(Stable) public CfnPluginPropsMixin.CustomPluginConfigurationProperty.Builder apiSchema(IResolvable apiSchema) Sets the value ofCfnPluginPropsMixin.CustomPluginConfigurationProperty.getApiSchema()- Parameters:
apiSchema- Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema.- Returns:
this
-
apiSchema
@Stability(Stable) public CfnPluginPropsMixin.CustomPluginConfigurationProperty.Builder apiSchema(CfnPluginPropsMixin.APISchemaProperty apiSchema) Sets the value ofCfnPluginPropsMixin.CustomPluginConfigurationProperty.getApiSchema()- Parameters:
apiSchema- Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema.- Returns:
this
-
apiSchemaType
@Stability(Stable) public CfnPluginPropsMixin.CustomPluginConfigurationProperty.Builder apiSchemaType(String apiSchemaType) Sets the value ofCfnPluginPropsMixin.CustomPluginConfigurationProperty.getApiSchemaType()- Parameters:
apiSchemaType- The type of OpenAPI schema to use.- Returns:
this
-
description
@Stability(Stable) public CfnPluginPropsMixin.CustomPluginConfigurationProperty.Builder description(String description) Sets the value ofCfnPluginPropsMixin.CustomPluginConfigurationProperty.getDescription()- Parameters:
description- A description for your custom plugin configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPluginPropsMixin.CustomPluginConfigurationProperty>- Returns:
- a new instance of
CfnPluginPropsMixin.CustomPluginConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-