@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrpcRouteMetadata extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the match metadata for the route.
Constructor and Description |
---|
GrpcRouteMetadata() |
Modifier and Type | Method and Description |
---|---|
GrpcRouteMetadata |
clone() |
boolean |
equals(Object obj) |
Boolean |
getInvert()
Specify
True to match anything except the match criteria. |
GrpcRouteMetadataMatchMethod |
getMatch()
An object that represents the data to match from the request.
|
String |
getName()
The name of the route.
|
int |
hashCode() |
Boolean |
isInvert()
Specify
True to match anything except the match criteria. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInvert(Boolean invert)
Specify
True to match anything except the match criteria. |
void |
setMatch(GrpcRouteMetadataMatchMethod match)
An object that represents the data to match from the request.
|
void |
setName(String name)
The name of the route.
|
String |
toString()
Returns a string representation of this object.
|
GrpcRouteMetadata |
withInvert(Boolean invert)
Specify
True to match anything except the match criteria. |
GrpcRouteMetadata |
withMatch(GrpcRouteMetadataMatchMethod match)
An object that represents the data to match from the request.
|
GrpcRouteMetadata |
withName(String name)
The name of the route.
|
public void setInvert(Boolean invert)
Specify True
to match anything except the match criteria. The default value is False
.
invert
- Specify True
to match anything except the match criteria. The default value is
False
.public Boolean getInvert()
Specify True
to match anything except the match criteria. The default value is False
.
True
to match anything except the match criteria. The default value is
False
.public GrpcRouteMetadata withInvert(Boolean invert)
Specify True
to match anything except the match criteria. The default value is False
.
invert
- Specify True
to match anything except the match criteria. The default value is
False
.public Boolean isInvert()
Specify True
to match anything except the match criteria. The default value is False
.
True
to match anything except the match criteria. The default value is
False
.public void setMatch(GrpcRouteMetadataMatchMethod match)
An object that represents the data to match from the request.
match
- An object that represents the data to match from the request.public GrpcRouteMetadataMatchMethod getMatch()
An object that represents the data to match from the request.
public GrpcRouteMetadata withMatch(GrpcRouteMetadataMatchMethod match)
An object that represents the data to match from the request.
match
- An object that represents the data to match from the request.public void setName(String name)
The name of the route.
name
- The name of the route.public String getName()
The name of the route.
public GrpcRouteMetadata withName(String name)
The name of the route.
name
- The name of the route.public String toString()
toString
in class Object
Object.toString()
public GrpcRouteMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.