ToCopyableBuilder<CreateModelResponse.Builder,CreateModelResponse>
@Generated("software.amazon.awssdk:codegen") public class CreateModelResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<CreateModelResponse.Builder,CreateModelResponse>
Represents the data structure of a method's request or response payload.
A request model defines the data structure of the client-supplied request payload. A response model defines the data structure of the response payload returned by the back end. Although not required, models are useful for mapping payloads between the front end and back end.
A model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateModelResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static CreateModelResponse.Builder |
builder() |
|
String |
contentType() |
The content-type for the model.
|
String |
description() |
The description of the model.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The identifier for the model resource.
|
String |
name() |
The name of the model.
|
String |
schema() |
The schema for the model.
|
static Class<? extends CreateModelResponse.Builder> |
serializableBuilderClass() |
|
CreateModelResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public String id()
The identifier for the model resource.
public String name()
The name of the model.
public String description()
The description of the model.
public 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.
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.public String contentType()
The content-type for the model.
public CreateModelResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateModelResponse.Builder,CreateModelResponse>
public static CreateModelResponse.Builder builder()
public static Class<? extends CreateModelResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.