@Stability(value=Stable) public static final class CfnModelProps.Builder extends Object implements software.amazon.jsii.Builder<CfnModelProps>
CfnModelProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnModelProps.Builder |
apiId(String apiId)
Sets the value of
CfnModelProps.getApiId() |
CfnModelProps |
build()
Builds the configured instance.
|
CfnModelProps.Builder |
contentType(String contentType)
Sets the value of
CfnModelProps.getContentType() |
CfnModelProps.Builder |
description(String description)
Sets the value of
CfnModelProps.getDescription() |
CfnModelProps.Builder |
name(String name)
Sets the value of
CfnModelProps.getName() |
CfnModelProps.Builder |
schema(Object schema)
Sets the value of
CfnModelProps.getSchema() |
@Stability(value=Stable) public CfnModelProps.Builder apiId(String apiId)
CfnModelProps.getApiId()apiId - The API identifier. This parameter is required.this@Stability(value=Stable) public CfnModelProps.Builder name(String name)
CfnModelProps.getName()name - The name of the model. This parameter is required.this@Stability(value=Stable) public CfnModelProps.Builder schema(Object schema)
CfnModelProps.getSchema()schema - The schema for the model. This parameter is required.
For application/json models, this should be JSON schema draft 4 model.this@Stability(value=Stable) public CfnModelProps.Builder contentType(String contentType)
CfnModelProps.getContentType()contentType - The content-type for the model, for example, "application/json".this@Stability(value=Stable) public CfnModelProps.Builder description(String description)
CfnModelProps.getDescription()description - The description of the model.this@Stability(value=Stable) public CfnModelProps build()
build in interface software.amazon.jsii.Builder<CfnModelProps>CfnModelPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.