@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HeaderMatchMethod extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the method and value to match the header value sent with a request. Specify one match method.
| Constructor and Description |
|---|
HeaderMatchMethod() |
| Modifier and Type | Method and Description |
|---|---|
HeaderMatchMethod |
clone() |
boolean |
equals(Object obj) |
String |
getExact()
The header value sent by the client must match the specified value exactly.
|
String |
getPrefix()
The header value sent by the client must begin with the specified characters.
|
MatchRange |
getRange()
The object that specifies the range of numbers that the header value sent by the client must be included in.
|
String |
getRegex()
The header value sent by the client must include the specified characters.
|
String |
getSuffix()
The header value sent by the client must end with the specified characters.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setExact(String exact)
The header value sent by the client must match the specified value exactly.
|
void |
setPrefix(String prefix)
The header value sent by the client must begin with the specified characters.
|
void |
setRange(MatchRange range)
The object that specifies the range of numbers that the header value sent by the client must be included in.
|
void |
setRegex(String regex)
The header value sent by the client must include the specified characters.
|
void |
setSuffix(String suffix)
The header value sent by the client must end with the specified characters.
|
String |
toString()
Returns a string representation of this object.
|
HeaderMatchMethod |
withExact(String exact)
The header value sent by the client must match the specified value exactly.
|
HeaderMatchMethod |
withPrefix(String prefix)
The header value sent by the client must begin with the specified characters.
|
HeaderMatchMethod |
withRange(MatchRange range)
The object that specifies the range of numbers that the header value sent by the client must be included in.
|
HeaderMatchMethod |
withRegex(String regex)
The header value sent by the client must include the specified characters.
|
HeaderMatchMethod |
withSuffix(String suffix)
The header value sent by the client must end with the specified characters.
|
public void setExact(String exact)
The header value sent by the client must match the specified value exactly.
exact - The header value sent by the client must match the specified value exactly.public String getExact()
The header value sent by the client must match the specified value exactly.
public HeaderMatchMethod withExact(String exact)
The header value sent by the client must match the specified value exactly.
exact - The header value sent by the client must match the specified value exactly.public void setPrefix(String prefix)
The header value sent by the client must begin with the specified characters.
prefix - The header value sent by the client must begin with the specified characters.public String getPrefix()
The header value sent by the client must begin with the specified characters.
public HeaderMatchMethod withPrefix(String prefix)
The header value sent by the client must begin with the specified characters.
prefix - The header value sent by the client must begin with the specified characters.public void setRange(MatchRange range)
The object that specifies the range of numbers that the header value sent by the client must be included in.
range - The object that specifies the range of numbers that the header value sent by the client must be included
in.public MatchRange getRange()
The object that specifies the range of numbers that the header value sent by the client must be included in.
public HeaderMatchMethod withRange(MatchRange range)
The object that specifies the range of numbers that the header value sent by the client must be included in.
range - The object that specifies the range of numbers that the header value sent by the client must be included
in.public void setRegex(String regex)
The header value sent by the client must include the specified characters.
regex - The header value sent by the client must include the specified characters.public String getRegex()
The header value sent by the client must include the specified characters.
public HeaderMatchMethod withRegex(String regex)
The header value sent by the client must include the specified characters.
regex - The header value sent by the client must include the specified characters.public void setSuffix(String suffix)
The header value sent by the client must end with the specified characters.
suffix - The header value sent by the client must end with the specified characters.public String getSuffix()
The header value sent by the client must end with the specified characters.
public HeaderMatchMethod withSuffix(String suffix)
The header value sent by the client must end with the specified characters.
suffix - The header value sent by the client must end with the specified characters.public String toString()
toString in class ObjectObject.toString()public HeaderMatchMethod clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.