| Modifier and Type | Method and Description |
|---|---|
CfnModel.Builder |
apiId(String apiId)
The API identifier.
|
CfnModel |
build() |
CfnModel.Builder |
contentType(String contentType)
The content-type for the model, for example, "application/json".
|
static CfnModel.Builder |
create(software.constructs.Construct scope,
String id) |
CfnModel.Builder |
description(String description)
The description of the model.
|
CfnModel.Builder |
name(String name)
The name of the model.
|
CfnModel.Builder |
schema(Object schema)
The schema for the model.
|
@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 apiId(String apiId)
apiId - The API identifier. This parameter is required.this@Stability(value=Stable) public CfnModel.Builder name(String name)
name - The name of the model. This parameter is required.this@Stability(value=Stable) public CfnModel.Builder schema(Object schema)
For application/json models, this should be JSON schema draft 4 model.
schema - The schema for the model. This parameter is required.this@Stability(value=Stable) public CfnModel.Builder contentType(String contentType)
contentType - The content-type for the model, for example, "application/json". This parameter is required.this@Stability(value=Stable) public CfnModel.Builder description(String description)
description - The description of the model. This parameter is required.thisCopyright © 2022. All rights reserved.