@Generated(value="software.amazon.awssdk:codegen") public final class UpdateModelRequest extends ApiGatewayV2Request implements ToCopyableBuilder<UpdateModelRequest.Builder,UpdateModelRequest>
Updates a Model.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateModelRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The API identifier.
|
static UpdateModelRequest.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 |
modelId()
The model ID.
|
String |
name()
The name of the model.
|
String |
schema()
The schema for the model.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateModelRequest.Builder> |
serializableBuilderClass() |
UpdateModelRequest.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 modelId()
The model ID.
public final String name()
The name of the model.
public final String schema()
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
public UpdateModelRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateModelRequest.Builder,UpdateModelRequest>toBuilder in class ApiGatewayV2Requestpublic static UpdateModelRequest.Builder builder()
public static Class<? extends UpdateModelRequest.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 © 2022. All rights reserved.