| Modifier and Type | Method and Description |
|---|---|
CfnModel |
build() |
CfnModel.Builder |
contentType(String contentType)
The content type for the model.
|
static CfnModel.Builder |
create(software.constructs.Construct scope,
String id) |
CfnModel.Builder |
description(String description)
A description that identifies this model.
|
CfnModel.Builder |
name(String name)
A name for the model.
|
CfnModel.Builder |
restApiId(String restApiId)
The ID of a REST API with which to associate this model.
|
CfnModel.Builder |
schema(Object schema)
The schema to use to transform data to one or more output formats.
|
@Stability(value=Stable) public static CfnModel.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnModel.Builder.@Stability(value=Stable) public CfnModel.Builder restApiId(String restApiId)
restApiId - The ID of a REST API with which to associate this model. This parameter is required.this@Stability(value=Stable) public CfnModel.Builder contentType(String contentType)
contentType - The content type for the model. This parameter is required.this@Stability(value=Stable) public CfnModel.Builder description(String description)
description - A description that identifies this model. This parameter is required.this@Stability(value=Stable) public CfnModel.Builder name(String name)
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the model name. For more information, see Name Type .
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
name - A name for the model. This parameter is required.this@Stability(value=Stable) public CfnModel.Builder schema(Object schema)
Specify null ( {} ) if you don't want to specify a schema.
schema - The schema to use to transform data to one or more output formats. This parameter is required.thisCopyright © 2022. All rights reserved.