Class CfnSchemaPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eventschemas.CfnSchemaPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchemaPropsMixin>
- Enclosing class:
CfnSchemaPropsMixin
@Stability(Stable)
public static final class CfnSchemaPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchemaPropsMixin>
A fluent builder for
CfnSchemaPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The source of the schema definition.static CfnSchemaPropsMixin.Buildercreate()static CfnSchemaPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) A description of the schema.registryName(String registryName) The name of the schema registry.schemaName(String schemaName) The name of the schema.tags(List<? extends CfnSchemaPropsMixin.TagsEntryProperty> tags) Tags associated with the schema.The type of schema.
-
Method Details
-
create
@Stability(Stable) public static CfnSchemaPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSchemaPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSchemaPropsMixin.Builder.
-
content
The source of the schema definition.- Parameters:
content- The source of the schema definition. This parameter is required.- Returns:
this- See Also:
-
description
A description of the schema.- Parameters:
description- A description of the schema. This parameter is required.- Returns:
this- See Also:
-
registryName
The name of the schema registry.- Parameters:
registryName- The name of the schema registry. This parameter is required.- Returns:
this- See Also:
-
schemaName
The name of the schema.- Parameters:
schemaName- The name of the schema. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnSchemaPropsMixin.Builder tags(List<? extends CfnSchemaPropsMixin.TagsEntryProperty> tags) Tags associated with the schema.- Parameters:
tags- Tags associated with the schema. This parameter is required.- Returns:
this- See Also:
-
type
The type of schema.Valid types include
OpenApi3andJSONSchemaDraft4.- Parameters:
type- The type of schema. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchemaPropsMixin>- Returns:
- a newly built instance of
CfnSchemaPropsMixin.
-