@Generated(value="software.amazon.awssdk:codegen") public final class HTTPHeader extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HTTPHeader.Builder,HTTPHeader>
Part of the response from GetSampledRequests. This is a 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HTTPHeader.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HTTPHeader.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the HTTP header.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HTTPHeader.Builder> |
serializableBuilderClass() |
HTTPHeader.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of the HTTP header.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the HTTP header.
public final String value()
The value of the HTTP header.
public HTTPHeader.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HTTPHeader.Builder,HTTPHeader>public static HTTPHeader.Builder builder()
public static Class<? extends HTTPHeader.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.