CopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>, SdkBuilder<CreateModelRequest.Builder,CreateModelRequest>public static interface CreateModelRequest.Builder extends CopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>
| Modifier and Type | Method | 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 |
restApiId(String restApiId) |
|
CreateModelRequest.Builder |
schema(String schema) |
The schema for the model.
|
copyapply, buildCreateModelRequest.Builder restApiId(String restApiId)
CreateModelRequest.Builder name(String name)
The name of the model.
name - The name of the model.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.