@Generated(value="software.amazon.awssdk:codegen") public final class GetModelRequest extends ApiGatewayRequest implements ToCopyableBuilder<GetModelRequest.Builder,GetModelRequest>
Request to list information about a model in an existing RestApi resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetModelRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetModelRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
flatten()
A query parameter of a Boolean value to resolve (
true) all external model references and returns a
flattened model schema or not (false) The default is false. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
modelName()
The name of the model as an identifier.
|
String |
restApiId()
The RestApi identifier under which the Model exists.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetModelRequest.Builder> |
serializableBuilderClass() |
GetModelRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String restApiId()
The RestApi identifier under which the Model exists.
public final String modelName()
The name of the model as an identifier.
public final Boolean flatten()
A query parameter of a Boolean value to resolve (true) all external model references and returns a
flattened model schema or not (false) The default is false.
true) all external model references and
returns a flattened model schema or not (false) The default is false.public GetModelRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetModelRequest.Builder,GetModelRequest>toBuilder in class ApiGatewayRequestpublic static GetModelRequest.Builder builder()
public static Class<? extends GetModelRequest.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.