Class CfnModelV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnModelV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelV2Props>
- Enclosing interface:
- CfnModelV2Props
@Stability(Deprecated)
@Deprecated
public static final class CfnModelV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelV2Props>
Deprecated.
A builder for
CfnModelV2Props-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.build()Deprecated.contentType(String contentType) Deprecated.description(String description) Deprecated.Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
apiId
Deprecated.Sets the value ofCfnModelV2Props.getApiId()- Parameters:
apiId-AWS::ApiGatewayV2::Model.ApiId. This parameter is required.- Returns:
this
-
name
Deprecated.Sets the value ofCfnModelV2Props.getName()- Parameters:
name-AWS::ApiGatewayV2::Model.Name. This parameter is required.- Returns:
this
-
schema
Deprecated.Sets the value ofCfnModelV2Props.getSchema()- Parameters:
schema-AWS::ApiGatewayV2::Model.Schema. This parameter is required.- Returns:
this
-
contentType
Deprecated.Sets the value ofCfnModelV2Props.getContentType()- Parameters:
contentType-AWS::ApiGatewayV2::Model.ContentType.- Returns:
this
-
description
Deprecated.Sets the value ofCfnModelV2Props.getDescription()- Parameters:
description-AWS::ApiGatewayV2::Model.Description.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelV2Props>- Returns:
- a new instance of
CfnModelV2Props - Throws:
NullPointerException- if any required attribute was not provided
-