public class HttpActionHeader
extends java.lang.Object
implements java.io.Serializable
The HTTP action header.
Constructor and Description |
---|
HttpActionHeader() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKey()
The HTTP header key.
|
java.lang.String |
getValue()
The HTTP header value.
|
int |
hashCode() |
void |
setKey(java.lang.String key)
The HTTP header key.
|
void |
setValue(java.lang.String value)
The HTTP header value.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HttpActionHeader |
withKey(java.lang.String key)
The HTTP header key.
|
HttpActionHeader |
withValue(java.lang.String value)
The HTTP header value.
|
public java.lang.String getKey()
The HTTP header key.
Constraints:
Length: 1 - 256
The HTTP header key.
public void setKey(java.lang.String key)
The HTTP header key.
Constraints:
Length: 1 - 256
key
- The HTTP header key.
public HttpActionHeader withKey(java.lang.String key)
The HTTP header key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
key
- The HTTP header key.
public java.lang.String getValue()
The HTTP header value. Substitution templates are supported.
The HTTP header value. Substitution templates are supported.
public void setValue(java.lang.String value)
The HTTP header value. Substitution templates are supported.
value
- The HTTP header value. Substitution templates are supported.
public HttpActionHeader withValue(java.lang.String value)
The HTTP header value. Substitution templates are supported.
Returns a reference to this object so that method calls can be chained together.
value
- The HTTP header value. Substitution templates are supported.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.