@Generated(value="software.amazon.awssdk:codegen") public final class RouteSpec extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteSpec.Builder,RouteSpec>
An object that represents a route specification. Specify one route type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RouteSpec.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RouteSpec.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GrpcRoute |
grpcRoute()
An object that represents the specification of a gRPC route.
|
int |
hashCode() |
HttpRoute |
http2Route()
An object that represents the specification of an HTTP/2 route.
|
HttpRoute |
httpRoute()
An object that represents the specification of an HTTP route.
|
Integer |
priority()
The priority for the route.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RouteSpec.Builder> |
serializableBuilderClass() |
TcpRoute |
tcpRoute()
An object that represents the specification of a TCP route.
|
RouteSpec.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final GrpcRoute grpcRoute()
An object that represents the specification of a gRPC route.
public final HttpRoute http2Route()
An object that represents the specification of an HTTP/2 route.
public final HttpRoute httpRoute()
An object that represents the specification of an HTTP route.
public final Integer priority()
The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.
public final TcpRoute tcpRoute()
An object that represents the specification of a TCP route.
public RouteSpec.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RouteSpec.Builder,RouteSpec>public static RouteSpec.Builder builder()
public static Class<? extends RouteSpec.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.