@Generated(value="software.amazon.awssdk:codegen") public final class RouteResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteResponse.Builder,RouteResponse>
Represents a route response.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RouteResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RouteResponse.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()
Represents the model selection expression of a route response.
|
Map<String,String> |
responseModels()
Represents the response models of a route response.
|
Map<String,ParameterConstraints> |
responseParameters()
Represents the response parameters of a route response.
|
String |
routeResponseId()
Represents the identifier of a route response.
|
String |
routeResponseKey()
Represents the route response key of a route response.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RouteResponse.Builder> |
serializableBuilderClass() |
RouteResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String modelSelectionExpression()
Represents the model selection expression of a route response. Supported only for WebSocket APIs.
public final boolean hasResponseModels()
public final Map<String,String> responseModels()
Represents the response models of a 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()
Represents the response parameters of a route response.
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 routeResponseId()
Represents the identifier of a route response.
public final String routeResponseKey()
Represents the route response key of a route response.
public RouteResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RouteResponse.Builder,RouteResponse>public static RouteResponse.Builder builder()
public static Class<? extends RouteResponse.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.