public static interface GetModelResponse.Builder extends ApiGatewayResponse.Builder, CopyableBuilder<GetModelResponse.Builder,GetModelResponse>
Modifier and Type | Method and Description |
---|---|
GetModelResponse.Builder |
contentType(String contentType)
The content-type for the model.
|
GetModelResponse.Builder |
description(String description)
The description of the model.
|
GetModelResponse.Builder |
id(String id)
The identifier for the model resource.
|
GetModelResponse.Builder |
name(String name)
The name of the model.
|
GetModelResponse.Builder |
schema(String schema)
The schema for the model.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetModelResponse.Builder id(String id)
The identifier for the model resource.
id
- The identifier for the model resource.GetModelResponse.Builder name(String name)
The name of the model. Must be an alphanumeric string.
name
- The name of the model. Must be an alphanumeric string.GetModelResponse.Builder description(String description)
The description of the model.
description
- The description of the model.GetModelResponse.Builder schema(String schema)
The schema for the model. For application/json
models, this should be JSON-schema draft v4 model. Do not
include "\*/" characters in the description of any properties because such "\*/" characters may be
interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the
installation of your API's SDK generated by API Gateway to fail.
schema
- The schema for the model. For application/json
models, this should be JSON-schema draft v4 model. Do
not include "\*/" characters in the description of any properties because such "\*/"
characters may be interpreted as the closing marker for comments in some languages, such as Java or
JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.GetModelResponse.Builder contentType(String contentType)
The content-type for the model.
contentType
- The content-type for the model.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.