Package com.amazonaws.services.waf.model
Class HTTPHeader
java.lang.Object
com.amazonaws.services.waf.model.HTTPHeader
- All Implemented Interfaces:
Serializable
,Cloneable
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
.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getName()
The name of one of the headers in the sampled web request.getValue()
The value of one of the headers in the sampled web request.int
hashCode()
void
The name of one of the headers in the sampled web request.void
The value of one of the headers in the sampled web request.toString()
Returns a string representation of this object; useful for testing and debugging.The name of one of the headers in the sampled web request.The value of one of the headers in the sampled web request.
-
Constructor Details
-
HTTPHeader
public HTTPHeader()
-
-
Method Details
-
setName
The name of one of the headers in the sampled web request.
- Parameters:
name
- The name of one of the headers in the sampled web request.
-
getName
The name of one of the headers in the sampled web request.
- Returns:
- The name of one of the headers in the sampled web request.
-
withName
The name of one of the headers in the sampled web request.
- Parameters:
name
- The name of one of the headers in the sampled web request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
The value of one of the headers in the sampled web request.
- Parameters:
value
- The value of one of the headers in the sampled web request.
-
getValue
The value of one of the headers in the sampled web request.
- Returns:
- The value of one of the headers in the sampled web request.
-
withValue
The value of one of the headers in the sampled web request.
- Parameters:
value
- The value of one of the headers in the sampled web request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-