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