@Generated(value="software.amazon.awssdk:codegen") public final class ResponseHeadersPolicyCustomHeader extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResponseHeadersPolicyCustomHeader.Builder,ResponseHeadersPolicyCustomHeader>
An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that’s associated with this response headers policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResponseHeadersPolicyCustomHeader.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResponseHeadersPolicyCustomHeader.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
header()
The HTTP response header name.
|
Boolean |
override()
A Boolean that determines whether CloudFront overrides a response header with the same name received from the
origin with the header specified here.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResponseHeadersPolicyCustomHeader.Builder> |
serializableBuilderClass() |
ResponseHeadersPolicyCustomHeader.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value for the HTTP response header.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String header()
The HTTP response header name.
public final String value()
The value for the HTTP response header.
public final Boolean override()
A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.
public ResponseHeadersPolicyCustomHeader.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResponseHeadersPolicyCustomHeader.Builder,ResponseHeadersPolicyCustomHeader>public static ResponseHeadersPolicyCustomHeader.Builder builder()
public static Class<? extends ResponseHeadersPolicyCustomHeader.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.