@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HeaderMatchType extends Object implements Serializable, Cloneable, StructuredPojo
Describes a header match type. Only one can be provided.
| Constructor and Description |
|---|
HeaderMatchType() |
| Modifier and Type | Method and Description |
|---|---|
HeaderMatchType |
clone() |
boolean |
equals(Object obj) |
String |
getContains()
Specifies a contains type match.
|
String |
getExact()
Specifies an exact type match.
|
String |
getPrefix()
Specifies a prefix type match.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setContains(String contains)
Specifies a contains type match.
|
void |
setExact(String exact)
Specifies an exact type match.
|
void |
setPrefix(String prefix)
Specifies a prefix type match.
|
String |
toString()
Returns a string representation of this object.
|
HeaderMatchType |
withContains(String contains)
Specifies a contains type match.
|
HeaderMatchType |
withExact(String exact)
Specifies an exact type match.
|
HeaderMatchType |
withPrefix(String prefix)
Specifies a prefix type match.
|
public void setContains(String contains)
Specifies a contains type match.
contains - Specifies a contains type match.public String getContains()
Specifies a contains type match.
public HeaderMatchType withContains(String contains)
Specifies a contains type match.
contains - Specifies a contains type match.public void setExact(String exact)
Specifies an exact type match.
exact - Specifies an exact type match.public String getExact()
Specifies an exact type match.
public HeaderMatchType withExact(String exact)
Specifies an exact type match.
exact - Specifies an exact type match.public void setPrefix(String prefix)
Specifies a prefix type match. Matches the value with the prefix.
prefix - Specifies a prefix type match. Matches the value with the prefix.public String getPrefix()
Specifies a prefix type match. Matches the value with the prefix.
public HeaderMatchType withPrefix(String prefix)
Specifies a prefix type match. Matches the value with the prefix.
prefix - Specifies a prefix type match. Matches the value with the prefix.public String toString()
toString in class ObjectObject.toString()public HeaderMatchType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.