Modifier and Type | Method and Description |
---|---|
CfnSchema |
build() |
CfnSchema.Builder |
content(java.lang.String content)
The source of the schema definition.
|
static CfnSchema.Builder |
create(Construct scope,
java.lang.String id) |
CfnSchema.Builder |
description(java.lang.String description)
A description of the schema.
|
CfnSchema.Builder |
registryName(java.lang.String registryName)
The name of the schema registry.
|
CfnSchema.Builder |
schemaName(java.lang.String schemaName)
The name of the schema.
|
CfnSchema.Builder |
tags(java.util.List<? extends CfnSchema.TagsEntryProperty> tags)
Tags associated with the schema.
|
CfnSchema.Builder |
type(java.lang.String type)
The type of schema.
|
public static CfnSchema.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnSchema.TagsEntryProperty.Builder
.public CfnSchema.Builder content(java.lang.String content)
content
- The source of the schema definition. This parameter is required.this
public CfnSchema.Builder registryName(java.lang.String registryName)
registryName
- The name of the schema registry. This parameter is required.this
public CfnSchema.Builder type(java.lang.String type)
Valid types include OpenApi3
and JSONSchemaDraft4
.
type
- The type of schema. This parameter is required.this
public CfnSchema.Builder description(java.lang.String description)
description
- A description of the schema. This parameter is required.this
public CfnSchema.Builder schemaName(java.lang.String schemaName)
schemaName
- The name of the schema. This parameter is required.this
public CfnSchema.Builder tags(java.util.List<? extends CfnSchema.TagsEntryProperty> tags)
tags
- Tags associated with the schema. This parameter is required.this
public CfnSchema build()