@Generated(value="software.amazon.awssdk:codegen") public final class ResponseHeadersPolicyStrictTransportSecurity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResponseHeadersPolicyStrictTransportSecurity.Builder,ResponseHeadersPolicyStrictTransportSecurity>
Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the
header's value.
For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security in the MDN Web Docs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResponseHeadersPolicyStrictTransportSecurity.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
accessControlMaxAgeSec()
A number that CloudFront uses as the value for the
max-age directive in the
Strict-Transport-Security HTTP response header. |
static ResponseHeadersPolicyStrictTransportSecurity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
includeSubdomains()
A Boolean that determines whether CloudFront includes the
includeSubDomains directive in the
Strict-Transport-Security HTTP response header. |
Boolean |
override()
A Boolean that determines whether CloudFront overrides the
Strict-Transport-Security HTTP response
header received from the origin with the one specified in this response headers policy. |
Boolean |
preload()
A Boolean that determines whether CloudFront includes the
preload directive in the
Strict-Transport-Security HTTP response header. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResponseHeadersPolicyStrictTransportSecurity.Builder> |
serializableBuilderClass() |
ResponseHeadersPolicyStrictTransportSecurity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean override()
A Boolean that determines whether CloudFront overrides the Strict-Transport-Security HTTP response
header received from the origin with the one specified in this response headers policy.
Strict-Transport-Security HTTP
response header received from the origin with the one specified in this response headers policy.public final Boolean includeSubdomains()
A Boolean that determines whether CloudFront includes the includeSubDomains directive in the
Strict-Transport-Security HTTP response header.
includeSubDomains directive in the
Strict-Transport-Security HTTP response header.public final Boolean preload()
A Boolean that determines whether CloudFront includes the preload directive in the
Strict-Transport-Security HTTP response header.
preload directive in the
Strict-Transport-Security HTTP response header.public final Integer accessControlMaxAgeSec()
A number that CloudFront uses as the value for the max-age directive in the
Strict-Transport-Security HTTP response header.
max-age directive in the
Strict-Transport-Security HTTP response header.public ResponseHeadersPolicyStrictTransportSecurity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResponseHeadersPolicyStrictTransportSecurity.Builder,ResponseHeadersPolicyStrictTransportSecurity>public static ResponseHeadersPolicyStrictTransportSecurity.Builder builder()
public static Class<? extends ResponseHeadersPolicyStrictTransportSecurity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.