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 |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateModelRequest.Builder |
restApiId(String restApiId)
|
CreateModelRequest.Builder |
schema(String schema)
The schema for the model.
|
buildrequestOverrideConfigcopyapply, buildCreateModelRequest.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.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateModelRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.