@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrpcGatewayRouteMatch extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the criteria for determining a request match.
Constructor and Description |
---|
GrpcGatewayRouteMatch() |
Modifier and Type | Method and Description |
---|---|
GrpcGatewayRouteMatch |
clone() |
boolean |
equals(Object obj) |
GatewayRouteHostnameMatch |
getHostname()
The gateway route host name to be matched on.
|
List<GrpcGatewayRouteMetadata> |
getMetadata()
The gateway route metadata to be matched on.
|
Integer |
getPort()
The gateway route port to be matched on.
|
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 |
setHostname(GatewayRouteHostnameMatch hostname)
The gateway route host name to be matched on.
|
void |
setMetadata(Collection<GrpcGatewayRouteMetadata> metadata)
The gateway route metadata to be matched on.
|
void |
setPort(Integer port)
The gateway route port to be matched on.
|
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.
|
GrpcGatewayRouteMatch |
withHostname(GatewayRouteHostnameMatch hostname)
The gateway route host name to be matched on.
|
GrpcGatewayRouteMatch |
withMetadata(Collection<GrpcGatewayRouteMetadata> metadata)
The gateway route metadata to be matched on.
|
GrpcGatewayRouteMatch |
withMetadata(GrpcGatewayRouteMetadata... metadata)
The gateway route metadata to be matched on.
|
GrpcGatewayRouteMatch |
withPort(Integer port)
The gateway route port to be matched on.
|
GrpcGatewayRouteMatch |
withServiceName(String serviceName)
The fully qualified domain name for the service to match from the request.
|
public void setHostname(GatewayRouteHostnameMatch hostname)
The gateway route host name to be matched on.
hostname
- The gateway route host name to be matched on.public GatewayRouteHostnameMatch getHostname()
The gateway route host name to be matched on.
public GrpcGatewayRouteMatch withHostname(GatewayRouteHostnameMatch hostname)
The gateway route host name to be matched on.
hostname
- The gateway route host name to be matched on.public List<GrpcGatewayRouteMetadata> getMetadata()
The gateway route metadata to be matched on.
public void setMetadata(Collection<GrpcGatewayRouteMetadata> metadata)
The gateway route metadata to be matched on.
metadata
- The gateway route metadata to be matched on.public GrpcGatewayRouteMatch withMetadata(GrpcGatewayRouteMetadata... metadata)
The gateway route metadata to be matched on.
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
- The gateway route metadata to be matched on.public GrpcGatewayRouteMatch withMetadata(Collection<GrpcGatewayRouteMetadata> metadata)
The gateway route metadata to be matched on.
metadata
- The gateway route metadata to be matched on.public void setPort(Integer port)
The gateway route port to be matched on.
port
- The gateway route port to be matched on.public Integer getPort()
The gateway route port to be matched on.
public GrpcGatewayRouteMatch withPort(Integer port)
The gateway route port to be matched on.
port
- The gateway route port to be matched on.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 GrpcGatewayRouteMatch 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 GrpcGatewayRouteMatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.