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