@Generated(value="software.amazon.awssdk:codegen") public final class UpdateRouteResponseRequest extends ApiGatewayV2Request implements ToCopyableBuilder<UpdateRouteResponseRequest.Builder,UpdateRouteResponseRequest>
Updates a RouteResponse.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateRouteResponseRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The API identifier.
|
static UpdateRouteResponseRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResponseModels()
For responses, this returns true if the service returned a value for the ResponseModels property.
|
boolean |
hasResponseParameters()
For responses, this returns true if the service returned a value for the ResponseParameters property.
|
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 |
routeResponseId()
The route response ID.
|
String |
routeResponseKey()
The route response key.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateRouteResponseRequest.Builder> |
serializableBuilderClass() |
UpdateRouteResponseRequest.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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResponseModels() method.
public final boolean hasResponseParameters()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,ParameterConstraints> responseParameters()
The route response parameters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResponseParameters() method.
public final String routeId()
The route ID.
public final String routeResponseId()
The route response ID.
public final String routeResponseKey()
The route response key.
public UpdateRouteResponseRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateRouteResponseRequest.Builder,UpdateRouteResponseRequest>toBuilder in class ApiGatewayV2Requestpublic static UpdateRouteResponseRequest.Builder builder()
public static Class<? extends UpdateRouteResponseRequest.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.