@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:54:56.876Z") @Stability(value=Experimental) public interface ModelProps extends software.amazon.jsii.JsiiSerializable, ModelOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
ModelProps.Builder
A builder for
ModelProps |
static class |
ModelProps.Jsii$Proxy
An implementation for
ModelProps |
| Modifier and Type | Method and Description |
|---|---|
static ModelProps.Builder |
builder() |
IRestApi |
getRestApi()
(experimental) The rest API that this model is part of.
|
getContentType, getDescription, getModelName, getSchema@Stability(value=Experimental) @NotNull IRestApi getRestApi()
The reason we need the RestApi object itself and not just the ID is because the model is being tracked by the top-level RestApi object for the purpose of calculating it's hash to determine the ID of the deployment. This allows us to automatically update the deployment when the model of the REST API changes.
@Stability(value=Experimental) static ModelProps.Builder builder()
builder in interface ModelOptionsModelProps.Builder of ModelPropsCopyright © 2021. All rights reserved.