@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 |
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 |
restApiId(String restApiId)
Sets the value of
CfnModelProps.getRestApiId() |
CfnModelProps.Builder |
schema(Object schema)
Sets the value of
CfnModelProps.getSchema() |
@Stability(value=Stable) public CfnModelProps.Builder restApiId(String restApiId)
CfnModelProps.getRestApiId()restApiId - The ID of a REST API with which to associate this model. This parameter is required.this@Stability(value=Stable) public CfnModelProps.Builder contentType(String contentType)
CfnModelProps.getContentType()contentType - The content type for the model.this@Stability(value=Stable) public CfnModelProps.Builder description(String description)
CfnModelProps.getDescription()description - A description that identifies this model.this@Stability(value=Stable) public CfnModelProps.Builder name(String name)
CfnModelProps.getName()name - A name for the model.
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.
this@Stability(value=Stable) public CfnModelProps.Builder schema(Object schema)
CfnModelProps.getSchema()schema - The schema to use to transform data to one or more output formats.
Specify null ( {} ) if you don't want to specify a schema.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.