@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HTTPHeader extends Object implements Serializable, Cloneable, StructuredPojo
The response from a GetSampledRequests request includes an HTTPHeader
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 that were returned by GetSampledRequests
.
Constructor and Description |
---|
HTTPHeader() |
Modifier and Type | Method and Description |
---|---|
HTTPHeader |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of one of the headers in the sampled web request.
|
String |
getValue()
The value of one of the headers in the sampled web request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of one of the headers in the sampled web request.
|
void |
setValue(String value)
The value of one of the headers in the sampled web request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
HTTPHeader |
withName(String name)
The name of one of the headers in the sampled web request.
|
HTTPHeader |
withValue(String value)
The value of one of the headers in the sampled web request.
|
public void setName(String name)
The name of one of the headers in the sampled web request.
name
- The name of one of the headers in the sampled web request.public String getName()
The name of one of the headers in the sampled web request.
public HTTPHeader withName(String name)
The name of one of the headers in the sampled web request.
name
- The name of one of the headers in the sampled web request.public void setValue(String value)
The value of one of the headers in the sampled web request.
value
- The value of one of the headers in the sampled web request.public String getValue()
The value of one of the headers in the sampled web request.
public HTTPHeader withValue(String value)
The value of one of the headers in the sampled web request.
value
- The value of one of the headers in the sampled web request.public String toString()
toString
in class Object
Object.toString()
public HTTPHeader clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.