@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PathMatchType extends Object implements Serializable, Cloneable, StructuredPojo
Describes a path match type. Each rule can include only one of the following types of paths.
Constructor and Description |
---|
PathMatchType() |
Modifier and Type | Method and Description |
---|---|
PathMatchType |
clone() |
boolean |
equals(Object obj) |
String |
getExact()
An exact match of the path.
|
String |
getPrefix()
A prefix match of the path.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExact(String exact)
An exact match of the path.
|
void |
setPrefix(String prefix)
A prefix match of the path.
|
String |
toString()
Returns a string representation of this object.
|
PathMatchType |
withExact(String exact)
An exact match of the path.
|
PathMatchType |
withPrefix(String prefix)
A prefix match of the path.
|
public void setExact(String exact)
An exact match of the path.
exact
- An exact match of the path.public String getExact()
An exact match of the path.
public PathMatchType withExact(String exact)
An exact match of the path.
exact
- An exact match of the path.public void setPrefix(String prefix)
A prefix match of the path.
prefix
- A prefix match of the path.public String getPrefix()
A prefix match of the path.
public PathMatchType withPrefix(String prefix)
A prefix match of the path.
prefix
- A prefix match of the path.public String toString()
toString
in class Object
Object.toString()
public PathMatchType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.