public static interface CreateModelRequest.Builder extends APIGatewayRequest.Builder, CopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>
Modifier and Type | Method and Description |
---|---|
CreateModelRequest.Builder |
contentType(String contentType)
The content-type for the model.
|
CreateModelRequest.Builder |
description(String description)
The description of the model.
|
CreateModelRequest.Builder |
name(String name)
The name of the model.
|
CreateModelRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateModelRequest.Builder |
restApiId(String restApiId)
|
CreateModelRequest.Builder |
schema(String schema)
The schema for the model.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateModelRequest.Builder restApiId(String restApiId)
CreateModelRequest.Builder name(String name)
The name of the model. Must be alphanumeric.
name
- The name of the model. Must be alphanumeric.CreateModelRequest.Builder description(String description)
The description of the model.
description
- The description of the model.CreateModelRequest.Builder schema(String schema)
The schema for the model. For application/json
models, this should be JSON-schema draft v4 model.
schema
- The schema for the model. For application/json
models, this should be JSON-schema draft v4 model.CreateModelRequest.Builder contentType(String contentType)
The content-type for the model.
contentType
- The content-type for the model.CreateModelRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.