@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpHeader extends Object implements Serializable, Cloneable, StructuredPojo
The HTTP header.
Constructor and Description |
---|
HttpHeader() |
Modifier and Type | Method and Description |
---|---|
HttpHeader |
clone() |
boolean |
equals(Object obj) |
String |
getHeaderName()
The header name.
|
String |
getHeaderValue()
The header value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHeaderName(String headerName)
The header name.
|
void |
setHeaderValue(String headerValue)
The header value.
|
String |
toString()
Returns a string representation of this object.
|
HttpHeader |
withHeaderName(String headerName)
The header name.
|
HttpHeader |
withHeaderValue(String headerValue)
The header value.
|
public void setHeaderName(String headerName)
The header name.
headerName
- The header name.public String getHeaderName()
The header name.
public HttpHeader withHeaderName(String headerName)
The header name.
headerName
- The header name.public void setHeaderValue(String headerValue)
The header value.
headerValue
- The header value.public String getHeaderValue()
The header value.
public HttpHeader withHeaderValue(String headerValue)
The header value.
headerValue
- The header value.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.