@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpActionHeader extends Object implements Serializable, Cloneable, StructuredPojo
The HTTP action header.
Constructor and Description |
---|
HttpActionHeader() |
Modifier and Type | Method and Description |
---|---|
HttpActionHeader |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The HTTP header key.
|
String |
getValue()
The HTTP header value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The HTTP header key.
|
void |
setValue(String value)
The HTTP header value.
|
String |
toString()
Returns a string representation of this object.
|
HttpActionHeader |
withKey(String key)
The HTTP header key.
|
HttpActionHeader |
withValue(String value)
The HTTP header value.
|
public void setKey(String key)
The HTTP header key.
key
- The HTTP header key.public String getKey()
The HTTP header key.
public HttpActionHeader withKey(String key)
The HTTP header key.
key
- The HTTP header key.public void setValue(String value)
The HTTP header value. Substitution templates are supported.
value
- The HTTP header value. Substitution templates are supported.public String getValue()
The HTTP header value. Substitution templates are supported.
public HttpActionHeader withValue(String value)
The HTTP header value. Substitution templates are supported.
value
- The HTTP header value. Substitution templates are supported.public String toString()
toString
in class Object
Object.toString()
public HttpActionHeader 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.