@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 String apiId()
The API identifier.
public String modelSelectionExpression()
The model selection expression for the route response. Supported only for WebSocket APIs.
public boolean hasResponseModels()
public 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 boolean hasResponseParameters()
public 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 String routeId()
The route ID.
public 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.