@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpGatewayRouteHeader extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the HTTP header in the gateway route.
Constructor and Description |
---|
HttpGatewayRouteHeader() |
Modifier and Type | Method and Description |
---|---|
HttpGatewayRouteHeader |
clone() |
boolean |
equals(Object obj) |
Boolean |
getInvert()
Specify
True to match anything except the match criteria. |
HeaderMatchMethod |
getMatch() |
String |
getName()
A name for the HTTP header in the gateway route that will be matched on.
|
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(HeaderMatchMethod match) |
void |
setName(String name)
A name for the HTTP header in the gateway route that will be matched on.
|
String |
toString()
Returns a string representation of this object.
|
HttpGatewayRouteHeader |
withInvert(Boolean invert)
Specify
True to match anything except the match criteria. |
HttpGatewayRouteHeader |
withMatch(HeaderMatchMethod match) |
HttpGatewayRouteHeader |
withName(String name)
A name for the HTTP header in the gateway route that will be matched on.
|
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 HttpGatewayRouteHeader 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(HeaderMatchMethod match)
match
- public HeaderMatchMethod getMatch()
public HttpGatewayRouteHeader withMatch(HeaderMatchMethod match)
match
- public void setName(String name)
A name for the HTTP header in the gateway route that will be matched on.
name
- A name for the HTTP header in the gateway route that will be matched on.public String getName()
A name for the HTTP header in the gateway route that will be matched on.
public HttpGatewayRouteHeader withName(String name)
A name for the HTTP header in the gateway route that will be matched on.
name
- A name for the HTTP header in the gateway route that will be matched on.public String toString()
toString
in class Object
Object.toString()
public HttpGatewayRouteHeader clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.