Class RouteSpec
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.RouteSpec
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RouteSpec.Builder,RouteSpec>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRouteSpec.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RouteSpec.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)GrpcRoutegrpcRoute()An object that represents the specification of a gRPC route.inthashCode()HttpRoutehttp2Route()An object that represents the specification of an HTTP/2 route.HttpRoutehttpRoute()An object that represents the specification of an HTTP route.Integerpriority()The priority for the route.List<SdkField<?>>sdkFields()static Class<? extends RouteSpec.Builder>serializableBuilderClass()TcpRoutetcpRoute()An object that represents the specification of a TCP route.RouteSpec.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
grpcRoute
public final GrpcRoute grpcRoute()
An object that represents the specification of a gRPC route.
- Returns:
- An object that represents the specification of a gRPC route.
-
http2Route
public final HttpRoute http2Route()
An object that represents the specification of an HTTP/2 route.
- Returns:
- An object that represents the specification of an HTTP/2 route.
-
httpRoute
public final HttpRoute httpRoute()
An object that represents the specification of an HTTP route.
- Returns:
- An object that represents the specification of an HTTP route.
-
priority
public final Integer priority()
The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.
- Returns:
- The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.
-
tcpRoute
public final TcpRoute tcpRoute()
An object that represents the specification of a TCP route.
- Returns:
- An object that represents the specification of a TCP route.
-
toBuilder
public RouteSpec.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RouteSpec.Builder,RouteSpec>
-
builder
public static RouteSpec.Builder builder()
-
serializableBuilderClass
public static Class<? extends RouteSpec.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-