@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 - `AWS::ApiGateway::Model.RestApiId`. This parameter is required.this@Stability(value=Stable) public CfnModelProps.Builder contentType(String contentType)
CfnModelProps.getContentType()contentType - `AWS::ApiGateway::Model.ContentType`.this@Stability(value=Stable) public CfnModelProps.Builder description(String description)
CfnModelProps.getDescription()description - `AWS::ApiGateway::Model.Description`.this@Stability(value=Stable) public CfnModelProps.Builder name(String name)
CfnModelProps.getName()name - `AWS::ApiGateway::Model.Name`.this@Stability(value=Stable) public CfnModelProps.Builder schema(Object schema)
CfnModelProps.getSchema()schema - `AWS::ApiGateway::Model.Schema`.this@Stability(value=Stable) public CfnModelProps build()
build in interface software.amazon.jsii.Builder<CfnModelProps>CfnModelPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.