@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GatewayRouteSpec extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a gateway route specification. Specify one gateway route type.
Constructor and Description |
---|
GatewayRouteSpec() |
Modifier and Type | Method and Description |
---|---|
GatewayRouteSpec |
clone() |
boolean |
equals(Object obj) |
GrpcGatewayRoute |
getGrpcRoute()
An object that represents the specification of a gRPC gateway route.
|
HttpGatewayRoute |
getHttp2Route()
An object that represents the specification of an HTTP/2 gateway route.
|
HttpGatewayRoute |
getHttpRoute()
An object that represents the specification of an HTTP gateway route.
|
Integer |
getPriority()
The ordering of the gateway routes spec.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGrpcRoute(GrpcGatewayRoute grpcRoute)
An object that represents the specification of a gRPC gateway route.
|
void |
setHttp2Route(HttpGatewayRoute http2Route)
An object that represents the specification of an HTTP/2 gateway route.
|
void |
setHttpRoute(HttpGatewayRoute httpRoute)
An object that represents the specification of an HTTP gateway route.
|
void |
setPriority(Integer priority)
The ordering of the gateway routes spec.
|
String |
toString()
Returns a string representation of this object.
|
GatewayRouteSpec |
withGrpcRoute(GrpcGatewayRoute grpcRoute)
An object that represents the specification of a gRPC gateway route.
|
GatewayRouteSpec |
withHttp2Route(HttpGatewayRoute http2Route)
An object that represents the specification of an HTTP/2 gateway route.
|
GatewayRouteSpec |
withHttpRoute(HttpGatewayRoute httpRoute)
An object that represents the specification of an HTTP gateway route.
|
GatewayRouteSpec |
withPriority(Integer priority)
The ordering of the gateway routes spec.
|
public void setGrpcRoute(GrpcGatewayRoute grpcRoute)
An object that represents the specification of a gRPC gateway route.
grpcRoute
- An object that represents the specification of a gRPC gateway route.public GrpcGatewayRoute getGrpcRoute()
An object that represents the specification of a gRPC gateway route.
public GatewayRouteSpec withGrpcRoute(GrpcGatewayRoute grpcRoute)
An object that represents the specification of a gRPC gateway route.
grpcRoute
- An object that represents the specification of a gRPC gateway route.public void setHttp2Route(HttpGatewayRoute http2Route)
An object that represents the specification of an HTTP/2 gateway route.
http2Route
- An object that represents the specification of an HTTP/2 gateway route.public HttpGatewayRoute getHttp2Route()
An object that represents the specification of an HTTP/2 gateway route.
public GatewayRouteSpec withHttp2Route(HttpGatewayRoute http2Route)
An object that represents the specification of an HTTP/2 gateway route.
http2Route
- An object that represents the specification of an HTTP/2 gateway route.public void setHttpRoute(HttpGatewayRoute httpRoute)
An object that represents the specification of an HTTP gateway route.
httpRoute
- An object that represents the specification of an HTTP gateway route.public HttpGatewayRoute getHttpRoute()
An object that represents the specification of an HTTP gateway route.
public GatewayRouteSpec withHttpRoute(HttpGatewayRoute httpRoute)
An object that represents the specification of an HTTP gateway route.
httpRoute
- An object that represents the specification of an HTTP gateway route.public void setPriority(Integer priority)
The ordering of the gateway routes spec.
priority
- The ordering of the gateway routes spec.public Integer getPriority()
The ordering of the gateway routes spec.
public GatewayRouteSpec withPriority(Integer priority)
The ordering of the gateway routes spec.
priority
- The ordering of the gateway routes spec.public String toString()
toString
in class Object
Object.toString()
public GatewayRouteSpec clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.