@Generated(value="software.amazon.awssdk:codegen") public final class CreateModelRequest extends ApiGatewayV2Request implements ToCopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>
Creates a new Model.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateModelRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The API identifier.
|
static CreateModelRequest.Builder |
builder() |
String |
contentType()
The content-type for the model, for example, "application/json".
|
String |
description()
The description of the model.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the model.
|
String |
schema()
The schema for the model.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateModelRequest.Builder> |
serializableBuilderClass() |
CreateModelRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String apiId()
The API identifier.
public final String contentType()
The content-type for the model, for example, "application/json".
public final String description()
The description of the model.
public final String name()
The name of the model. Must be alphanumeric.
public final String schema()
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
public CreateModelRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>toBuilder in class ApiGatewayV2Requestpublic static CreateModelRequest.Builder builder()
public static Class<? extends CreateModelRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.