@Stability(value=Stable) public static final class CfnSchemaProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSchemaProps>
CfnSchemaProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSchemaProps |
build()
Builds the configured instance.
|
CfnSchemaProps.Builder |
content(String content)
Sets the value of
CfnSchemaProps.getContent() |
CfnSchemaProps.Builder |
description(String description)
Sets the value of
CfnSchemaProps.getDescription() |
CfnSchemaProps.Builder |
registryName(String registryName)
Sets the value of
CfnSchemaProps.getRegistryName() |
CfnSchemaProps.Builder |
schemaName(String schemaName)
Sets the value of
CfnSchemaProps.getSchemaName() |
CfnSchemaProps.Builder |
tags(List<? extends CfnSchema.TagsEntryProperty> tags)
Sets the value of
CfnSchemaProps.getTags() |
CfnSchemaProps.Builder |
type(String type)
Sets the value of
CfnSchemaProps.getType() |
@Stability(value=Stable) public CfnSchemaProps.Builder content(String content)
CfnSchemaProps.getContent()content - The source of the schema definition. This parameter is required.this@Stability(value=Stable) public CfnSchemaProps.Builder registryName(String registryName)
CfnSchemaProps.getRegistryName()registryName - The name of the schema registry. This parameter is required.this@Stability(value=Stable) public CfnSchemaProps.Builder type(String type)
CfnSchemaProps.getType()type - The type of schema. This parameter is required.
Valid types include OpenApi3 and JSONSchemaDraft4 .this@Stability(value=Stable) public CfnSchemaProps.Builder description(String description)
CfnSchemaProps.getDescription()description - A description of the schema.this@Stability(value=Stable) public CfnSchemaProps.Builder schemaName(String schemaName)
CfnSchemaProps.getSchemaName()schemaName - The name of the schema.this@Stability(value=Stable) public CfnSchemaProps.Builder tags(List<? extends CfnSchema.TagsEntryProperty> tags)
CfnSchemaProps.getTags()tags - Tags associated with the schema.this@Stability(value=Stable) public CfnSchemaProps build()
build in interface software.amazon.jsii.Builder<CfnSchemaProps>CfnSchemaPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.