@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrpcGatewayRoute extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a gRPC gateway route.
Constructor and Description |
---|
GrpcGatewayRoute() |
Modifier and Type | Method and Description |
---|---|
GrpcGatewayRoute |
clone() |
boolean |
equals(Object obj) |
GrpcGatewayRouteAction |
getAction()
An object that represents the action to take if a match is determined.
|
GrpcGatewayRouteMatch |
getMatch()
An object that represents the criteria for determining a request match.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(GrpcGatewayRouteAction action)
An object that represents the action to take if a match is determined.
|
void |
setMatch(GrpcGatewayRouteMatch match)
An object that represents the criteria for determining a request match.
|
String |
toString()
Returns a string representation of this object.
|
GrpcGatewayRoute |
withAction(GrpcGatewayRouteAction action)
An object that represents the action to take if a match is determined.
|
GrpcGatewayRoute |
withMatch(GrpcGatewayRouteMatch match)
An object that represents the criteria for determining a request match.
|
public void setAction(GrpcGatewayRouteAction action)
An object that represents the action to take if a match is determined.
action
- An object that represents the action to take if a match is determined.public GrpcGatewayRouteAction getAction()
An object that represents the action to take if a match is determined.
public GrpcGatewayRoute withAction(GrpcGatewayRouteAction action)
An object that represents the action to take if a match is determined.
action
- An object that represents the action to take if a match is determined.public void setMatch(GrpcGatewayRouteMatch match)
An object that represents the criteria for determining a request match.
match
- An object that represents the criteria for determining a request match.public GrpcGatewayRouteMatch getMatch()
An object that represents the criteria for determining a request match.
public GrpcGatewayRoute withMatch(GrpcGatewayRouteMatch match)
An object that represents the criteria for determining a request match.
match
- An object that represents the criteria for determining a request match.public String toString()
toString
in class Object
Object.toString()
public GrpcGatewayRoute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.