@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrpcRouteMatch extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the criteria for determining a request match.
Constructor and Description |
---|
GrpcRouteMatch() |
Modifier and Type | Method and Description |
---|---|
GrpcRouteMatch |
clone() |
boolean |
equals(Object obj) |
List<GrpcRouteMetadata> |
getMetadata()
An object that represents the data to match from the request.
|
String |
getMethodName()
The method name to match from the request.
|
String |
getServiceName()
The fully qualified domain name for the service to match from the request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetadata(Collection<GrpcRouteMetadata> metadata)
An object that represents the data to match from the request.
|
void |
setMethodName(String methodName)
The method name to match from the request.
|
void |
setServiceName(String serviceName)
The fully qualified domain name for the service to match from the request.
|
String |
toString()
Returns a string representation of this object.
|
GrpcRouteMatch |
withMetadata(Collection<GrpcRouteMetadata> metadata)
An object that represents the data to match from the request.
|
GrpcRouteMatch |
withMetadata(GrpcRouteMetadata... metadata)
An object that represents the data to match from the request.
|
GrpcRouteMatch |
withMethodName(String methodName)
The method name to match from the request.
|
GrpcRouteMatch |
withServiceName(String serviceName)
The fully qualified domain name for the service to match from the request.
|
public List<GrpcRouteMetadata> getMetadata()
An object that represents the data to match from the request.
public void setMetadata(Collection<GrpcRouteMetadata> metadata)
An object that represents the data to match from the request.
metadata
- An object that represents the data to match from the request.public GrpcRouteMatch withMetadata(GrpcRouteMetadata... metadata)
An object that represents the data to match from the request.
NOTE: This method appends the values to the existing list (if any). Use
setMetadata(java.util.Collection)
or withMetadata(java.util.Collection)
if you want to override
the existing values.
metadata
- An object that represents the data to match from the request.public GrpcRouteMatch withMetadata(Collection<GrpcRouteMetadata> metadata)
An object that represents the data to match from the request.
metadata
- An object that represents the data to match from the request.public void setMethodName(String methodName)
The method name to match from the request. If you specify a name, you must also specify a
serviceName
.
methodName
- The method name to match from the request. If you specify a name, you must also specify a
serviceName
.public String getMethodName()
The method name to match from the request. If you specify a name, you must also specify a
serviceName
.
serviceName
.public GrpcRouteMatch withMethodName(String methodName)
The method name to match from the request. If you specify a name, you must also specify a
serviceName
.
methodName
- The method name to match from the request. If you specify a name, you must also specify a
serviceName
.public void setServiceName(String serviceName)
The fully qualified domain name for the service to match from the request.
serviceName
- The fully qualified domain name for the service to match from the request.public String getServiceName()
The fully qualified domain name for the service to match from the request.
public GrpcRouteMatch withServiceName(String serviceName)
The fully qualified domain name for the service to match from the request.
serviceName
- The fully qualified domain name for the service to match from the request.public String toString()
toString
in class Object
Object.toString()
public GrpcRouteMatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.