Interface CfnModelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T13:51:55.745Z")
@Stability(Stable)
public interface CfnModelProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnModel.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
Object schema;
CfnModelProps cfnModelProps = CfnModelProps.builder()
.apiId("apiId")
.name("name")
.schema(schema)
// the properties below are optional
.contentType("contentType")
.description("description")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModelPropsstatic final classAn implementation forCfnModelProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
The API identifier.- See Also:
-
getName
The name of the model.- See Also:
-
getSchema
The schema for the model.For application/json models, this should be JSON schema draft 4 model.
- See Also:
-
getContentType
The content-type for the model, for example, "application/json".- See Also:
-
getDescription
The description of the model.- See Also:
-
builder
- Returns:
- a
CfnModelProps.BuilderofCfnModelProps
-