@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HTTPHeader extends Object implements Serializable, Cloneable, StructuredPojo
 Part of the response from GetSampledRequests. This is a complex type that appears as Headers in
 the response syntax. HTTPHeader contains the names and values of all of the headers that appear in one
 of the web requests.
 
| Constructor and Description | 
|---|
| HTTPHeader() | 
| Modifier and Type | Method and Description | 
|---|---|
| HTTPHeader | clone() | 
| boolean | equals(Object obj) | 
| String | getName()
 The name of the HTTP header. | 
| String | getValue()
 The value of the HTTP header. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setName(String name)
 The name of the HTTP header. | 
| void | setValue(String value)
 The value of the HTTP header. | 
| String | toString()Returns a string representation of this object. | 
| HTTPHeader | withName(String name)
 The name of the HTTP header. | 
| HTTPHeader | withValue(String value)
 The value of the HTTP header. | 
public void setName(String name)
The name of the HTTP header.
name - The name of the HTTP header.public String getName()
The name of the HTTP header.
public HTTPHeader withName(String name)
The name of the HTTP header.
name - The name of the HTTP header.public void setValue(String value)
The value of the HTTP header.
value - The value of the HTTP header.public String getValue()
The value of the HTTP header.
public HTTPHeader withValue(String value)
The value of the HTTP header.
value - The value of the HTTP header.public String toString()
toString in class ObjectObject.toString()public HTTPHeader clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.