public static final class CfnSchemaProps.Builder
extends java.lang.Object
CfnSchemaProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSchemaProps |
build()
Builds the configured instance.
|
CfnSchemaProps.Builder |
content(java.lang.String content)
Sets the value of
CfnSchemaProps.getContent() |
CfnSchemaProps.Builder |
description(java.lang.String description)
Sets the value of
CfnSchemaProps.getDescription() |
CfnSchemaProps.Builder |
registryName(java.lang.String registryName)
Sets the value of
CfnSchemaProps.getRegistryName() |
CfnSchemaProps.Builder |
schemaName(java.lang.String schemaName)
Sets the value of
CfnSchemaProps.getSchemaName() |
CfnSchemaProps.Builder |
tags(java.util.List<? extends CfnSchema.TagsEntryProperty> tags)
Sets the value of
CfnSchemaProps.getTags() |
CfnSchemaProps.Builder |
type(java.lang.String type)
Sets the value of
CfnSchemaProps.getType() |
public CfnSchemaProps.Builder content(java.lang.String content)
CfnSchemaProps.getContent()
content
- The source of the schema definition. This parameter is required.this
public CfnSchemaProps.Builder registryName(java.lang.String registryName)
CfnSchemaProps.getRegistryName()
registryName
- The name of the schema registry. This parameter is required.this
public CfnSchemaProps.Builder type(java.lang.String type)
CfnSchemaProps.getType()
type
- The type of schema. This parameter is required.
Valid types include OpenApi3
and JSONSchemaDraft4
.this
public CfnSchemaProps.Builder description(java.lang.String description)
CfnSchemaProps.getDescription()
description
- A description of the schema.this
public CfnSchemaProps.Builder schemaName(java.lang.String schemaName)
CfnSchemaProps.getSchemaName()
schemaName
- The name of the schema.this
public CfnSchemaProps.Builder tags(java.util.List<? extends CfnSchema.TagsEntryProperty> tags)
CfnSchemaProps.getTags()
tags
- Tags associated with the schema.this
public CfnSchemaProps build()
CfnSchemaProps
java.lang.NullPointerException
- if any required attribute was not provided