@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HeaderMatch extends Object implements Serializable, Cloneable, StructuredPojo
Describes the constraints for a header match. Matches incoming requests with rule based on request header value before applying rule action.
Constructor and Description |
---|
HeaderMatch() |
Modifier and Type | Method and Description |
---|---|
HeaderMatch |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCaseSensitive()
Indicates whether the match is case sensitive.
|
HeaderMatchType |
getMatch()
The header match type.
|
String |
getName()
The name of the header.
|
int |
hashCode() |
Boolean |
isCaseSensitive()
Indicates whether the match is case sensitive.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCaseSensitive(Boolean caseSensitive)
Indicates whether the match is case sensitive.
|
void |
setMatch(HeaderMatchType match)
The header match type.
|
void |
setName(String name)
The name of the header.
|
String |
toString()
Returns a string representation of this object.
|
HeaderMatch |
withCaseSensitive(Boolean caseSensitive)
Indicates whether the match is case sensitive.
|
HeaderMatch |
withMatch(HeaderMatchType match)
The header match type.
|
HeaderMatch |
withName(String name)
The name of the header.
|
public void setCaseSensitive(Boolean caseSensitive)
Indicates whether the match is case sensitive.
caseSensitive
- Indicates whether the match is case sensitive.public Boolean getCaseSensitive()
Indicates whether the match is case sensitive.
public HeaderMatch withCaseSensitive(Boolean caseSensitive)
Indicates whether the match is case sensitive.
caseSensitive
- Indicates whether the match is case sensitive.public Boolean isCaseSensitive()
Indicates whether the match is case sensitive.
public void setMatch(HeaderMatchType match)
The header match type.
match
- The header match type.public HeaderMatchType getMatch()
The header match type.
public HeaderMatch withMatch(HeaderMatchType match)
The header match type.
match
- The header match type.public void setName(String name)
The name of the header.
name
- The name of the header.public String getName()
The name of the header.
public HeaderMatch withName(String name)
The name of the header.
name
- The name of the header.public String toString()
toString
in class Object
Object.toString()
public HeaderMatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.