@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpPathMatch extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the path to match in the request.
| Constructor and Description |
|---|
HttpPathMatch() |
| Modifier and Type | Method and Description |
|---|---|
HttpPathMatch |
clone() |
boolean |
equals(Object obj) |
String |
getExact()
The exact path to match on.
|
String |
getRegex()
The regex used to match the path.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setExact(String exact)
The exact path to match on.
|
void |
setRegex(String regex)
The regex used to match the path.
|
String |
toString()
Returns a string representation of this object.
|
HttpPathMatch |
withExact(String exact)
The exact path to match on.
|
HttpPathMatch |
withRegex(String regex)
The regex used to match the path.
|
public void setExact(String exact)
The exact path to match on.
exact - The exact path to match on.public String getExact()
The exact path to match on.
public HttpPathMatch withExact(String exact)
The exact path to match on.
exact - The exact path to match on.public void setRegex(String regex)
The regex used to match the path.
regex - The regex used to match the path.public String getRegex()
The regex used to match the path.
public HttpPathMatch withRegex(String regex)
The regex used to match the path.
regex - The regex used to match the path.public String toString()
toString in class ObjectObject.toString()public HttpPathMatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.