@Generated(value="software.amazon.awssdk:codegen") public final class CreateRouteResponseRequest extends ApiGatewayV2Request implements ToCopyableBuilder<CreateRouteResponseRequest.Builder,CreateRouteResponseRequest>
Creates a new RouteResponse resource to represent a route response.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateRouteResponseRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The API identifier.
|
static CreateRouteResponseRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResponseModels()
Returns true if the ResponseModels property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasResponseParameters()
Returns true if the ResponseParameters property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
modelSelectionExpression()
The model selection expression for the route response.
|
Map<String,String> |
responseModels()
The response models for the route response.
|
Map<String,ParameterConstraints> |
responseParameters()
The route response parameters.
|
String |
routeId()
The route ID.
|
String |
routeResponseKey()
The route response key.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateRouteResponseRequest.Builder> |
serializableBuilderClass() |
CreateRouteResponseRequest.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 modelSelectionExpression()
The model selection expression for the route response. Supported only for WebSocket APIs.
public final boolean hasResponseModels()
public final Map<String,String> responseModels()
The response models for the route response.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResponseModels() to see if a value was sent in this field.
public final boolean hasResponseParameters()
public final Map<String,ParameterConstraints> responseParameters()
The route response parameters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResponseParameters() to see if a value was sent in this field.
public final String routeId()
The route ID.
public final String routeResponseKey()
The route response key.
public CreateRouteResponseRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateRouteResponseRequest.Builder,CreateRouteResponseRequest>toBuilder in class ApiGatewayV2Requestpublic static CreateRouteResponseRequest.Builder builder()
public static Class<? extends CreateRouteResponseRequest.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 © 2021. All rights reserved.